1 // clang-format off 2 3 //[foo_cpp_copyright 4 /*============================================================================= 5 Copyright (c) 2011 Daniel James 6 7 Use, modification and distribution is subject to the Boost Software 8 License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 9 http://www.boost.org/LICENSE_1_0.txt) 10 =============================================================================*/ 11 //] 12 13 //[foo_cpp 14 struct Foo{ 15 FooFoo16 Foo()//=; 17 //<- 18 : x( 10 ) 19 {} 20 //-> 21 22 //<- 23 int x; 24 //-> 25 }; 26 27 /*= 28 int main() 29 { 30 Foo x; 31 } 32 */ 33 //] 34