mirror of
https://github.com/boostorg/lambda.git
synced 2026-01-21 04:52:25 +00:00
added definitions for logical_action<or/and_action> as KCC needs them
[SVN r12881]
This commit is contained in:
@@ -20,12 +20,15 @@
|
||||
|
||||
// add to boost/config.hpp
|
||||
// for now
|
||||
|
||||
|
||||
# if defined __GNUC__
|
||||
# if (__GNUC__ == 2 && __GNUC_MINOR__ <= 97) || __GNUC__ == 3
|
||||
# if (__GNUC__ == 2 && __GNUC_MINOR__ <= 97)
|
||||
#define BOOST_NO_TEMPLATED_STREAMS
|
||||
#endif
|
||||
#endif // __GNUC__
|
||||
|
||||
|
||||
# if defined __KCC
|
||||
|
||||
#define BOOST_NO_FORWARD_DECLARADED_TEMPLATES_AS_TEMPLATE_TEMPLATE_PARAMETERS
|
||||
|
||||
@@ -126,6 +126,9 @@ BOOST_LAMBDA_BINARY_ACTION(^=,bitwise_assignment_action,xor_action)
|
||||
|
||||
// && and || are defined directly in specializations for lambda_functor_base
|
||||
// to achieve short circuiting
|
||||
// Still we define some empty action classes for them, as they are instantiated:
|
||||
template<> class logical_action<or_action> : public protectable {};
|
||||
template<> class logical_action<and_action> : public protectable {};
|
||||
|
||||
|
||||
BOOST_LAMBDA_BINARY_ACTION(=,other_action, assignment_action)
|
||||
|
||||
Reference in New Issue
Block a user