|
|
Whole document tree
boost_concept_check.h File Reference
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members
boost_concept_check.h File Reference#include <bits/stl_iterator_base_types.h>
#include <utility>
Include dependency graph for boost_concept_check.h:
Go to the source code of this file.
Namespaces |
namespace | __gnu_cxx |
Defines |
#define | _GLIBCPP_BOOST_CONCEPT_CHECK 1 |
#define | _IsUnused __attribute__ ((__unused__)) |
#define | _GLIBCPP_CLASS_REQUIRES(_type_var, _ns, _concept) |
#define | _GLIBCPP_CLASS_REQUIRES2(_type_var1, _type_var2, _ns, _concept) |
#define | _GLIBCPP_CLASS_REQUIRES3(_type_var1, _type_var2, _type_var3, _ns, _concept) |
#define | _GLIBCPP_CLASS_REQUIRES4(_type_var1, _type_var2, _type_var3, _type_var4, _ns, _concept) |
#define | _GLIBCPP_DEFINE_BINARY_PREDICATE_OP_CONSTRAINT(_OP, _NAME) |
#define | _GLIBCPP_DEFINE_BINARY_OPERATOR_CONSTRAINT(_OP, _NAME) |
Define Documentation
#define _GLIBCPP_BOOST_CONCEPT_CHECK 1
|
|
#define _GLIBCPP_CLASS_REQUIRES |
( |
_type_var, |
|
|
_ns, |
|
|
_concept |
|
) |
|
|
|
Value: typedef void (_ns::_concept <_type_var>::* _func##_type_var##_concept)(); \
template <_func##_type_var##_concept _Tp1> \
struct _concept_checking##_type_var##_concept { }; \
typedef _concept_checking##_type_var##_concept< \
&_ns::_concept <_type_var>::__constraints> \
_concept_checking_typedef##_type_var##_concept
Definition at line 31 of file boost_concept_check.h. |
#define _GLIBCPP_CLASS_REQUIRES2 |
( |
_type_var1, |
|
|
_type_var2, |
|
|
_ns, |
|
|
_concept |
|
) |
|
|
|
Value: typedef void (_ns::_concept <_type_var1,_type_var2>::* _func##_type_var1##_type_var2##_concept)(); \
template <_func##_type_var1##_type_var2##_concept _Tp1> \
struct _concept_checking##_type_var1##_type_var2##_concept { }; \
typedef _concept_checking##_type_var1##_type_var2##_concept< \
&_ns::_concept <_type_var1,_type_var2>::__constraints> \
_concept_checking_typedef##_type_var1##_type_var2##_concept
Definition at line 39 of file boost_concept_check.h. |
#define _GLIBCPP_CLASS_REQUIRES3 |
( |
_type_var1, |
|
|
_type_var2, |
|
|
_type_var3, |
|
|
_ns, |
|
|
_concept |
|
) |
|
|
|
Value: typedef void (_ns::_concept <_type_var1,_type_var2,_type_var3>::* _func##_type_var1##_type_var2##_type_var3##_concept)(); \
template <_func##_type_var1##_type_var2##_type_var3##_concept _Tp1> \
struct _concept_checking##_type_var1##_type_var2##_type_var3##_concept { }; \
typedef _concept_checking##_type_var1##_type_var2##_type_var3##_concept< \
&_ns::_concept <_type_var1,_type_var2,_type_var3>::__constraints> \
_concept_checking_typedef##_type_var1##_type_var2##_type_var3##_concept
Definition at line 47 of file boost_concept_check.h. |
#define _GLIBCPP_CLASS_REQUIRES4 |
( |
_type_var1, |
|
|
_type_var2, |
|
|
_type_var3, |
|
|
_type_var4, |
|
|
_ns, |
|
|
_concept |
|
) |
|
|
|
Value: typedef void (_ns::_concept <_type_var1,_type_var2,_type_var3,_type_var4>::* _func##_type_var1##_type_var2##_type_var3##_type_var4##_concept)(); \
template <_func##_type_var1##_type_var2##_type_var3##_type_var4##_concept _Tp1> \
struct _concept_checking##_type_var1##_type_var2##_type_var3##_type_var4##_concept { }; \
typedef _concept_checking##_type_var1##_type_var2##_type_var3##_type_var4##_concept< \
&_ns::_concept <_type_var1,_type_var2,_type_var3,_type_var4>::__constraints> \
_concept_checking_typedef##_type_var1##_type_var2##_type_var3##_type_var4##_concept
Definition at line 55 of file boost_concept_check.h. |
#define _GLIBCPP_DEFINE_BINARY_OPERATOR_CONSTRAINT |
( |
_OP, |
|
|
_NAME |
|
) |
|
|
|
Value: template <class _Ret, class _First, class _Second> \
struct _NAME { \
void __constraints() { (void)__constraints_(); } \
_Ret __constraints_() { \
return __a _OP __b; \
} \
_First __a; \
_Second __b; \
}
Definition at line 242 of file boost_concept_check.h. |
#define _GLIBCPP_DEFINE_BINARY_PREDICATE_OP_CONSTRAINT |
( |
_OP, |
|
|
_NAME |
|
) |
|
|
|
Value: template <class _First, class _Second> \
struct _NAME { \
void __constraints() { (void)__constraints_(); } \
bool __constraints_() { \
return __a _OP __b; \
} \
_First __a; \
_Second __b; \
}
Definition at line 231 of file boost_concept_check.h. |
|
Definition at line 21 of file boost_concept_check.h.
Referenced by __gnu_cxx::__aux_require_boolean_expr(), __gnu_cxx::_BackInsertionSequenceConcept< _BackInsertionSequence >::__const_constraints(), __gnu_cxx::_SequenceConcept< _Sequence >::__const_constraints(), __gnu_cxx::_SGIAssignableConcept< _Tp >::__const_constraints(), __gnu_cxx::_CopyConstructibleConcept< _Tp >::__const_constraints(), __gnu_cxx::_SortedAssociativeContainerConcept< _SortedAssociativeContainer >::__constraints(), __gnu_cxx::_BackInsertionSequenceConcept< _BackInsertionSequence >::__constraints(), __gnu_cxx::_SequenceConcept< _Sequence >::__constraints(), __gnu_cxx::_Mutable_RandomAccessContainerConcept< _RandomAccessContainer >::__constraints(), __gnu_cxx::_RandomAccessContainerConcept< _RandomAccessContainer >::__constraints(), __gnu_cxx::_ForwardIteratorConcept< _Tp >::__constraints(), __gnu_cxx::_GeneratorConcept< _Func, _Return >::__constraints(), __gnu_cxx::_ConvertibleConcept< _From, _To >::__constraints(), __gnu_cxx::_SGIAssignableConcept< _Tp >::__constraints(), __gnu_cxx::_CopyConstructibleConcept< _Tp >::__constraints(), __gnu_cxx::_DefaultConstructibleConcept< _Tp >::__constraints(), and __gnu_cxx::__function_requires(). |
Generated on Mon Apr 8 03:12:07 2002 for libstdc++-v3 Source by
1.2.15
|