[DEV] add v1.76.0

This commit is contained in:
2021-10-05 21:37:46 +02:00
parent a97e9ae7d4
commit d0115b733d
45133 changed files with 4744437 additions and 1026325 deletions

View File

@@ -50,15 +50,9 @@ public:
// preprocessing directive.
//
///////////////////////////////////////////////////////////////////////////
#if BOOST_WAVE_USE_DEPRECIATED_PREPROCESSING_HOOKS != 0
template <typename TokenT>
void
found_directive(TokenT const& directive)
#else
template <typename ContextT, typename TokenT>
bool
found_directive(ContextT const& ctx, TokenT const& directive)
#endif
{
// print the commented conditional directives
using namespace boost::wave;
@@ -82,9 +76,7 @@ public:
break;
}
#if BOOST_WAVE_USE_DEPRECIATED_PREPROCESSING_HOOKS == 0
return false;
#endif
}
///////////////////////////////////////////////////////////////////////////
@@ -108,18 +100,11 @@ public:
// to force the expression to be re-evaluated.
//
///////////////////////////////////////////////////////////////////////////
#if BOOST_WAVE_USE_DEPRECIATED_PREPROCESSING_HOOKS != 0
template <typename ContainerT>
bool
evaluated_conditional_expression(
ContainerT const& expression, bool expression_value)
#else
template <typename ContextT, typename TokenT, typename ContainerT>
bool
evaluated_conditional_expression(ContextT const &ctx,
TokenT const& directive, ContainerT const& expression,
bool expression_value)
#endif
{
// print the conditional expressions
std::cout << boost::wave::util::impl::as_string(expression) << std::endl;
@@ -139,15 +124,9 @@ public:
// The parameter 'token' refers to the token to be skipped.
//
///////////////////////////////////////////////////////////////////////////
#if BOOST_WAVE_USE_DEPRECIATED_PREPROCESSING_HOOKS != 0
template <typename TokenT>
void
skipped_token(TokenT const& token)
#else
template <typename ContextT, typename TokenT>
void
skipped_token(ContextT const& ctx, TokenT const& token)
#endif
{
// prepend a comment at the beginning of all skipped lines
using namespace boost::wave;

View File

@@ -12,6 +12,6 @@ exe advanced_hooks
: ../advanced_hooks.cpp
/boost/wave//boost_wave
/boost/thread//boost_thread
/boost/date_time//boost_date_time
/boost/filesystem//boost_filesystem
;