1 /*============================================================================= 2 Boost.Wave: A Standard compliant C++ preprocessor library 3 Definition of the preprocessor context 4 5 http://www.boost.org/ 6 7 Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost 8 Software License, Version 1.0. (See accompanying file 9 LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 10 =============================================================================*/ 11 12 #if !defined(BOOST_CPP_CONTEXT_HPP_907485E2_6649_4A87_911B_7F7225F3E5B8_INCLUDED) 13 #define BOOST_CPP_CONTEXT_HPP_907485E2_6649_4A87_911B_7F7225F3E5B8_INCLUDED 14 15 #include <string> 16 #include <vector> 17 #include <stack> 18 19 #include <boost/concept_check.hpp> 20 #include <boost/noncopyable.hpp> 21 #include <boost/filesystem/path.hpp> 22 #include <boost/mpl/if.hpp> 23 #include <boost/type_traits/is_same.hpp> 24 #include <boost/pool/pool_alloc.hpp> 25 26 #include <boost/wave/wave_config.hpp> 27 #if BOOST_WAVE_SERIALIZATION != 0 28 #include <boost/serialization/serialization.hpp> 29 #include <boost/wave/wave_config_constant.hpp> 30 #endif 31 #include <boost/wave/token_ids.hpp> 32 33 #include <boost/wave/util/unput_queue_iterator.hpp> 34 #include <boost/wave/util/cpp_ifblock.hpp> 35 #include <boost/wave/util/cpp_include_paths.hpp> 36 #include <boost/wave/util/iteration_context.hpp> 37 #include <boost/wave/util/cpp_iterator.hpp> 38 #include <boost/wave/util/cpp_macromap.hpp> 39 40 #include <boost/wave/preprocessing_hooks.hpp> 41 #include <boost/wave/whitespace_handling.hpp> 42 #include <boost/wave/cpp_iteration_context.hpp> 43 #include <boost/wave/language_support.hpp> 44 45 // this must occur after all of the includes and before any code appears 46 #ifdef BOOST_HAS_ABI_HEADERS 47 #include BOOST_ABI_PREFIX 48 #endif 49 50 /////////////////////////////////////////////////////////////////////////////// 51 namespace boost { 52 namespace wave { 53 54 /////////////////////////////////////////////////////////////////////////////// 55 // 56 // The C/C++ preprocessor context template class 57 // 58 // The boost::wave::context template is the main interface class to 59 // control the behavior of the preprocessing engine. 60 // 61 // The following template parameters has to be supplied: 62 // 63 // IteratorT The iterator type of the underlying input stream 64 // LexIteratorT The lexer iterator type to use as the token factory 65 // InputPolicyT The input policy type to use for loading the files 66 // to be included. This template parameter is optional and 67 // defaults to the 68 // iteration_context_policies::load_file_to_string 69 // type. 70 // HooksT The hooks policy to use for different notification 71 // callbacks. This template parameter is optional and 72 // defaults to the 73 // context_policies::default_preprocessing_hooks 74 // type. 75 // DerivedT The type of the type being derived from the context 76 // type (if any). This template parameter is optional and 77 // defaults to 'this_type', which means that the context 78 // type will be used assuming no derived type exists. 79 // 80 /////////////////////////////////////////////////////////////////////////////// 81 82 struct this_type {}; 83 84 template < 85 typename IteratorT, 86 typename LexIteratorT, 87 typename InputPolicyT = iteration_context_policies::load_file_to_string, 88 typename HooksT = context_policies::eat_whitespace<typename LexIteratorT::token_type>, 89 typename DerivedT = this_type 90 > 91 class context : private boost::noncopyable 92 { 93 private: 94 typedef typename mpl::if_< 95 is_same<DerivedT, this_type>, context, DerivedT 96 >::type actual_context_type; 97 98 public: 99 // concept checks 100 // the given iterator should be at least a forward iterator type 101 BOOST_CLASS_REQUIRE(IteratorT, boost, ForwardIteratorConcept); 102 103 // public typedefs 104 typedef typename LexIteratorT::token_type token_type; 105 typedef typename token_type::string_type string_type; 106 107 typedef IteratorT target_iterator_type; 108 typedef LexIteratorT lexer_type; 109 typedef pp_iterator<context> iterator_type; 110 111 typedef InputPolicyT input_policy_type; 112 typedef typename token_type::position_type position_type; 113 114 // type of a token sequence 115 typedef std::list<token_type, boost::fast_pool_allocator<token_type> > 116 token_sequence_type; 117 // type of the policies 118 typedef HooksT hook_policy_type; 119 120 private: 121 // stack of shared_ptr's to the pending iteration contexts 122 typedef boost::shared_ptr<base_iteration_context<context, lexer_type> > 123 iteration_ptr_type; 124 typedef boost::wave::util::iteration_context_stack<iteration_ptr_type> 125 iteration_context_stack_type; 126 typedef typename iteration_context_stack_type::size_type iter_size_type; 127 this_()128 context *this_() { return this; } // avoid warning in constructor 129 130 public: context(target_iterator_type const & first_,target_iterator_type const & last_,char const * fname="<Unknown>",HooksT const & hooks_=HooksT ())131 context(target_iterator_type const &first_, target_iterator_type const &last_, 132 char const *fname = "<Unknown>", HooksT const &hooks_ = HooksT()) 133 : first(first_), last(last_), filename(fname) 134 , has_been_initialized(false) 135 #if BOOST_WAVE_SUPPORT_PRAGMA_ONCE != 0 136 , current_filename(fname) 137 #endif 138 , current_relative_filename(fname) 139 , macros(*this_()) 140 , language(language_support( 141 support_cpp 142 | support_option_convert_trigraphs 143 | support_option_emit_line_directives 144 #if BOOST_WAVE_SUPPORT_PRAGMA_ONCE != 0 145 | support_option_include_guard_detection 146 #endif 147 #if BOOST_WAVE_EMIT_PRAGMA_DIRECTIVES != 0 148 | support_option_emit_pragma_directives 149 #endif 150 | support_option_insert_whitespace 151 )) 152 , hooks(hooks_) 153 { 154 macros.init_predefined_macros(fname); 155 } 156 157 // default copy constructor 158 // default assignment operator 159 // default destructor 160 161 // iterator interface begin()162 iterator_type begin() 163 { 164 std::string fname(filename); 165 if (filename != "<Unknown>" && filename != "<stdin>") { 166 using namespace boost::filesystem; 167 path fpath(util::complete_path(path(filename))); 168 fname = fpath.string(); 169 } 170 return iterator_type(*this, first, last, position_type(fname.c_str())); 171 } begin(target_iterator_type const & first_,target_iterator_type const & last_)172 iterator_type begin( 173 target_iterator_type const &first_, 174 target_iterator_type const &last_) 175 { 176 std::string fname(filename); 177 if (filename != "<Unknown>" && filename != "<stdin>") { 178 using namespace boost::filesystem; 179 path fpath(util::complete_path(path(filename))); 180 fname = fpath.string(); 181 } 182 return iterator_type(*this, first_, last_, position_type(fname.c_str())); 183 } end() const184 iterator_type end() const 185 { return iterator_type(); } 186 187 // maintain include paths add_include_path(char const * path_)188 bool add_include_path(char const *path_) 189 { return includes.add_include_path(path_, false);} add_sysinclude_path(char const * path_)190 bool add_sysinclude_path(char const *path_) 191 { return includes.add_include_path(path_, true);} set_sysinclude_delimiter()192 void set_sysinclude_delimiter() { includes.set_sys_include_delimiter(); } get_iteration_depth() const193 typename iteration_context_stack_type::size_type get_iteration_depth() const 194 { return iter_ctxs.size(); } 195 196 // maintain defined macros 197 #if BOOST_WAVE_ENABLE_COMMANDLINE_MACROS != 0 198 template <typename StringT> add_macro_definition(StringT macrostring,bool is_predefined=false)199 bool add_macro_definition(StringT macrostring, bool is_predefined = false) 200 { 201 return boost::wave::util::add_macro_definition(*this, 202 util::to_string<std::string>(macrostring), is_predefined, 203 get_language()); 204 } 205 #endif 206 // Define and undefine macros, macro introspection 207 template <typename StringT> add_macro_definition(StringT const & name,position_type const & pos,bool has_params,std::vector<token_type> & parameters,token_sequence_type & definition,bool is_predefined=false)208 bool add_macro_definition(StringT const &name, position_type const& pos, 209 bool has_params, std::vector<token_type> ¶meters, 210 token_sequence_type &definition, bool is_predefined = false) 211 { 212 return macros.add_macro( 213 token_type(T_IDENTIFIER, util::to_string<string_type>(name), pos), 214 has_params, parameters, definition, is_predefined); 215 } 216 template <typename StringT> is_defined_macro(StringT const & str) const217 bool is_defined_macro(StringT const &str) const 218 { 219 return macros.is_defined(util::to_string<string_type>(str)); 220 } 221 template <typename StringT> get_macro_definition(StringT const & name,bool & has_params,bool & is_predefined,position_type & pos,std::vector<token_type> & parameters,token_sequence_type & definition) const222 bool get_macro_definition(StringT const &name, 223 bool &has_params, bool &is_predefined, position_type &pos, 224 std::vector<token_type> ¶meters, 225 token_sequence_type &definition) const 226 { 227 return macros.get_macro(util::to_string<string_type>(name), 228 has_params, is_predefined, pos, parameters, definition); 229 } 230 template <typename StringT> remove_macro_definition(StringT const & undefname,bool even_predefined=false)231 bool remove_macro_definition(StringT const& undefname, bool even_predefined = false) 232 { 233 // strip leading and trailing whitespace 234 string_type name = util::to_string<string_type>(undefname); 235 typename string_type::size_type pos = name.find_first_not_of(" \t"); 236 if (pos != string_type::npos) { 237 typename string_type::size_type endpos = name.find_last_not_of(" \t"); 238 name = name.substr(pos, endpos-pos+1); 239 } 240 241 #if BOOST_WAVE_SUPPORT_PRAGMA_ONCE != 0 242 // ensure this gets removed from the list of include guards as well 243 includes.remove_pragma_once_header( 244 util::to_string<std::string>(name)); 245 #endif 246 return macros.remove_macro(name, macros.get_main_pos(), even_predefined); 247 } reset_macro_definitions()248 void reset_macro_definitions() 249 { macros.reset_macromap(); macros.init_predefined_macros(); } 250 251 // Iterate over names of defined macros 252 typedef boost::wave::util::macromap<context> macromap_type; 253 typedef typename macromap_type::name_iterator name_iterator; 254 typedef typename macromap_type::const_name_iterator const_name_iterator; 255 macro_names_begin()256 name_iterator macro_names_begin() { return macros.begin(); } macro_names_end()257 name_iterator macro_names_end() { return macros.end(); } macro_names_begin() const258 const_name_iterator macro_names_begin() const { return macros.begin(); } macro_names_end() const259 const_name_iterator macro_names_end() const { return macros.end(); } 260 261 // This version now is used internally mainly, but since it was a documented 262 // API function we leave it in the public interface. add_macro_definition(token_type const & name,bool has_params,std::vector<token_type> & parameters,token_sequence_type & definition,bool is_predefined=false)263 bool add_macro_definition(token_type const &name, bool has_params, 264 std::vector<token_type> ¶meters, token_sequence_type &definition, 265 bool is_predefined = false) 266 { 267 return macros.add_macro(name, has_params, parameters, definition, 268 is_predefined); 269 } 270 271 // get the Wave version information get_version()272 static std::string get_version() 273 { 274 boost::wave::util::predefined_macros p; 275 return util::to_string<std::string>(p.get_fullversion()); 276 } get_version_string()277 static std::string get_version_string() 278 { 279 boost::wave::util::predefined_macros p; 280 return util::to_string<std::string>(p.get_versionstr()); 281 } 282 283 // access current language options set_language(boost::wave::language_support language_,bool reset_macros=true)284 void set_language(boost::wave::language_support language_, 285 bool reset_macros = true) 286 { 287 language = language_; 288 if (reset_macros) 289 reset_macro_definitions(); 290 } get_language() const291 boost::wave::language_support get_language() const { return language; } 292 get_main_pos()293 position_type &get_main_pos() { return macros.get_main_pos(); } get_main_pos() const294 position_type const& get_main_pos() const { return macros.get_main_pos(); } 295 296 // change and ask for maximal possible include nesting depth set_max_include_nesting_depth(iter_size_type new_depth)297 void set_max_include_nesting_depth(iter_size_type new_depth) 298 { iter_ctxs.set_max_include_nesting_depth(new_depth); } get_max_include_nesting_depth() const299 iter_size_type get_max_include_nesting_depth() const 300 { return iter_ctxs.get_max_include_nesting_depth(); } 301 302 // access the policies get_hooks()303 hook_policy_type &get_hooks() { return hooks; } get_hooks() const304 hook_policy_type const &get_hooks() const { return hooks; } 305 306 // return type of actually used context type (might be the derived type) derived()307 actual_context_type& derived() 308 { return *static_cast<actual_context_type*>(this); } derived() const309 actual_context_type const& derived() const 310 { return *static_cast<actual_context_type const*>(this); } 311 312 // return the directory of the currently preprocessed file get_current_directory() const313 boost::filesystem::path get_current_directory() const 314 { return includes.get_current_directory(); } 315 316 #if !defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS) 317 protected: 318 friend class boost::wave::pp_iterator<context>; 319 friend class boost::wave::impl::pp_iterator_functor<context>; 320 friend class boost::wave::util::macromap<context>; 321 #endif 322 323 // make sure the context has been initialized init_context()324 void init_context() 325 { 326 if (!has_been_initialized) { 327 std::string fname(filename); 328 if (filename != "<Unknown>" && filename != "<stdin>") { 329 using namespace boost::filesystem; 330 path fpath(util::complete_path(path(filename))); 331 fname = fpath.string(); 332 includes.set_current_directory(fname.c_str()); 333 } 334 has_been_initialized = true; // execute once 335 } 336 } 337 338 template <typename IteratorT2> is_defined_macro(IteratorT2 const & begin,IteratorT2 const & end) const339 bool is_defined_macro(IteratorT2 const &begin, IteratorT2 const &end) const 340 { return macros.is_defined(begin, end); } 341 342 // maintain include paths (helper functions) set_current_directory(char const * path_)343 void set_current_directory(char const *path_) 344 { includes.set_current_directory(path_); } 345 346 // conditional compilation contexts get_if_block_status() const347 bool get_if_block_status() const { return ifblocks.get_status(); } get_if_block_some_part_status() const348 bool get_if_block_some_part_status() const 349 { return ifblocks.get_some_part_status(); } get_enclosing_if_block_status() const350 bool get_enclosing_if_block_status() const 351 { return ifblocks.get_enclosing_status(); } enter_if_block(bool new_status)352 void enter_if_block(bool new_status) 353 { ifblocks.enter_if_block(new_status); } enter_elif_block(bool new_status)354 bool enter_elif_block(bool new_status) 355 { return ifblocks.enter_elif_block(new_status); } enter_else_block()356 bool enter_else_block() { return ifblocks.enter_else_block(); } exit_if_block()357 bool exit_if_block() { return ifblocks.exit_if_block(); } get_if_block_depth() const358 typename boost::wave::util::if_block_stack::size_type get_if_block_depth() const 359 { return ifblocks.get_if_block_depth(); } 360 361 // stack of iteration contexts pop_iteration_context()362 iteration_ptr_type pop_iteration_context() 363 { iteration_ptr_type top = iter_ctxs.top(); iter_ctxs.pop(); return top; } push_iteration_context(position_type const & act_pos,iteration_ptr_type iter_ctx)364 void push_iteration_context(position_type const &act_pos, iteration_ptr_type iter_ctx) 365 { iter_ctxs.push(*this, act_pos, iter_ctx); } 366 367 /////////////////////////////////////////////////////////////////////////////// 368 // 369 // expand_tokensequence(): 370 // expands all macros contained in a given token sequence, handles '##' 371 // and '#' pp operators and re-scans the resulting sequence 372 // (essentially pre-processes the token sequence). 373 // 374 // The expand_defined parameter is true during macro expansion inside 375 // a C++ expression given for a #if or #elif statement. 376 // 377 /////////////////////////////////////////////////////////////////////////////// 378 template <typename IteratorT2> expand_tokensequence(IteratorT2 & first_,IteratorT2 const & last_,token_sequence_type & pending,token_sequence_type & expanded,bool & seen_newline,bool expand_defined=false,bool expand_has_include=false)379 token_type expand_tokensequence(IteratorT2 &first_, IteratorT2 const &last_, 380 token_sequence_type &pending, token_sequence_type &expanded, 381 bool& seen_newline, bool expand_defined = false, 382 bool expand_has_include = false) 383 { 384 return macros.expand_tokensequence(first_, last_, pending, expanded, 385 seen_newline, expand_defined, expand_has_include); 386 } 387 388 template <typename IteratorT2> expand_whole_tokensequence(IteratorT2 & first_,IteratorT2 const & last_,token_sequence_type & expanded,bool expand_defined=true,bool expand_has_include=true)389 void expand_whole_tokensequence(IteratorT2 &first_, IteratorT2 const &last_, 390 token_sequence_type &expanded, bool expand_defined = true, 391 bool expand_has_include = true) 392 { 393 macros.expand_whole_tokensequence( 394 expanded, first_, last_, 395 expand_defined, expand_has_include); 396 397 // remove any contained placeholder 398 boost::wave::util::impl::remove_placeholders(expanded); 399 } 400 401 public: 402 #if BOOST_WAVE_SUPPORT_PRAGMA_ONCE != 0 403 // support for #pragma once 404 // maintain the real name of the current preprocessed file set_current_filename(char const * real_name)405 void set_current_filename(char const *real_name) 406 { current_filename = real_name; } get_current_filename() const407 std::string const &get_current_filename() const 408 { return current_filename; } 409 410 // maintain the list of known headers containing #pragma once has_pragma_once(std::string const & filename_)411 bool has_pragma_once(std::string const &filename_) 412 { return includes.has_pragma_once(filename_); } add_pragma_once_header(std::string const & filename_,std::string const & guard_name)413 bool add_pragma_once_header(std::string const &filename_, 414 std::string const& guard_name) 415 { 416 get_hooks().detected_include_guard(derived(), filename_, guard_name); 417 return includes.add_pragma_once_header(filename_, guard_name); 418 } add_pragma_once_header(token_type const & pragma_,std::string const & filename_)419 bool add_pragma_once_header(token_type const &pragma_, 420 std::string const &filename_) 421 { 422 get_hooks().detected_pragma_once(derived(), pragma_, filename_); 423 return includes.add_pragma_once_header(filename_, 424 "__BOOST_WAVE_PRAGMA_ONCE__"); 425 } 426 #endif 427 set_current_relative_filename(char const * real_name)428 void set_current_relative_filename(char const *real_name) 429 { current_relative_filename = real_name; } get_current_relative_filename() const430 std::string const &get_current_relative_filename() const 431 { return current_relative_filename; } 432 find_include_file(std::string & s,std::string & d,bool is_system,char const * current_file) const433 bool find_include_file (std::string &s, std::string &d, bool is_system, 434 char const *current_file) const 435 { return includes.find_include_file(s, d, is_system, current_file); } 436 437 #if BOOST_WAVE_SERIALIZATION != 0 438 public: 439 BOOST_STATIC_CONSTANT(unsigned int, version = 0x10); 440 BOOST_STATIC_CONSTANT(unsigned int, version_mask = 0x0f); 441 442 private: 443 friend class boost::serialization::access; 444 template<class Archive> save(Archive & ar,const unsigned int version) const445 void save(Archive & ar, const unsigned int version) const 446 { 447 using namespace boost::serialization; 448 449 string_type cfg(BOOST_PP_STRINGIZE(BOOST_WAVE_CONFIG)); 450 string_type kwd(BOOST_WAVE_PRAGMA_KEYWORD); 451 string_type strtype(BOOST_PP_STRINGIZE((BOOST_WAVE_STRINGTYPE))); 452 ar & make_nvp("config", cfg); 453 ar & make_nvp("pragma_keyword", kwd); 454 ar & make_nvp("string_type", strtype); 455 456 ar & make_nvp("language_options", language); 457 ar & make_nvp("macro_definitions", macros); 458 ar & make_nvp("include_settings", includes); 459 } 460 template<class Archive> load(Archive & ar,const unsigned int loaded_version)461 void load(Archive & ar, const unsigned int loaded_version) 462 { 463 using namespace boost::serialization; 464 if (version != (loaded_version & ~version_mask)) { 465 BOOST_WAVE_THROW_CTX((*this), preprocess_exception, 466 incompatible_config, "cpp_context state version", 467 get_main_pos()); 468 return; 469 } 470 471 // check compatibility of the stored information 472 string_type config, pragma_keyword, string_type_str; 473 474 // BOOST_PP_STRINGIZE(BOOST_WAVE_CONFIG) 475 ar & make_nvp("config", config); 476 if (config != BOOST_PP_STRINGIZE(BOOST_WAVE_CONFIG)) { 477 BOOST_WAVE_THROW_CTX((*this), preprocess_exception, 478 incompatible_config, "BOOST_WAVE_CONFIG", get_main_pos()); 479 return; 480 } 481 482 // BOOST_WAVE_PRAGMA_KEYWORD 483 ar & make_nvp("pragma_keyword", pragma_keyword); 484 if (pragma_keyword != BOOST_WAVE_PRAGMA_KEYWORD) { 485 BOOST_WAVE_THROW_CTX((*this), preprocess_exception, 486 incompatible_config, "BOOST_WAVE_PRAGMA_KEYWORD", 487 get_main_pos()); 488 return; 489 } 490 491 // BOOST_PP_STRINGIZE((BOOST_WAVE_STRINGTYPE)) 492 ar & make_nvp("string_type", string_type_str); 493 if (string_type_str != BOOST_PP_STRINGIZE((BOOST_WAVE_STRINGTYPE))) { 494 BOOST_WAVE_THROW_CTX((*this), preprocess_exception, 495 incompatible_config, "BOOST_WAVE_STRINGTYPE", get_main_pos()); 496 return; 497 } 498 499 try { 500 // read in the useful bits 501 ar & make_nvp("language_options", language); 502 ar & make_nvp("macro_definitions", macros); 503 ar & make_nvp("include_settings", includes); 504 } 505 catch (boost::wave::preprocess_exception const& e) { 506 // catch version mismatch exceptions and call error handler 507 get_hooks().throw_exception(derived(), e); 508 } 509 } 510 BOOST_SERIALIZATION_SPLIT_MEMBER() 511 #endif 512 513 private: 514 // the main input stream 515 target_iterator_type first; // underlying input stream 516 target_iterator_type last; 517 std::string filename; // associated main filename 518 bool has_been_initialized; // set cwd once 519 #if BOOST_WAVE_SUPPORT_PRAGMA_ONCE != 0 520 std::string current_filename; // real name of current preprocessed file 521 #endif 522 std::string current_relative_filename; // real relative name of current preprocessed file 523 524 boost::wave::util::if_block_stack ifblocks; // conditional compilation contexts 525 boost::wave::util::include_paths includes; // lists of include directories to search 526 iteration_context_stack_type iter_ctxs; // iteration contexts 527 macromap_type macros; // map of defined macros 528 boost::wave::language_support language; // supported language/extensions 529 hook_policy_type hooks; // hook policy instance 530 }; 531 532 /////////////////////////////////////////////////////////////////////////////// 533 } // namespace wave 534 } // namespace boost 535 536 #if BOOST_WAVE_SERIALIZATION != 0 537 namespace boost { namespace serialization { 538 539 template< 540 typename Iterator, typename LexIterator, 541 typename InputPolicy, typename Hooks 542 > 543 struct tracking_level<boost::wave::context<Iterator, LexIterator, InputPolicy, Hooks> > 544 { 545 typedef mpl::integral_c_tag tag; 546 typedef mpl::int_<track_never> type; 547 BOOST_STATIC_CONSTANT( 548 int, 549 value = tracking_level::type::value 550 ); 551 }; 552 553 template< 554 typename Iterator, typename LexIterator, 555 typename InputPolicy, typename Hooks 556 > 557 struct version<boost::wave::context<Iterator, LexIterator, InputPolicy, Hooks> > 558 { 559 typedef boost::wave::context<Iterator, LexIterator, InputPolicy, Hooks> 560 target_type; 561 typedef mpl::int_<target_type::version> type; 562 typedef mpl::integral_c_tag tag; 563 BOOST_STATIC_CONSTANT(unsigned int, value = version::type::value); 564 }; 565 566 }} // namespace boost::serialization 567 #endif 568 569 // the suffix header occurs after all of the code 570 #ifdef BOOST_HAS_ABI_HEADERS 571 #include BOOST_ABI_SUFFIX 572 #endif 573 574 #endif // !defined(BOOST_CPP_CONTEXT_HPP_907485E2_6649_4A87_911B_7F7225F3E5B8_INCLUDED) 575