forked from boostorg/concept_check
changes to the handling of bool return types
[SVN r8092]
This commit is contained in:
1 parent
0fb40bbafa
commit
7b40323fef
3 files changed
+128
-94
No files matched your search
@@ -24,7 +24,9 @@ main()
|
||||
//===========================================================================
|
||||
// First verify that the archetype classes model the concepts they
|
||||
// are suppose to.
|
||||
|
||||
{
|
||||
REQUIRE2(boolean_archetype, bool, Convertible);
|
||||
}
|
||||
{
|
||||
typedef unary_function_archetype<int, int> F;
|
||||
REQUIRE3(F, int, int, UnaryFunction);
|
||||
@@ -40,6 +42,8 @@ main()
|
||||
{
|
||||
typedef binary_predicate_archetype<int, int> F;
|
||||
REQUIRE3(F, int, int, BinaryPredicate);
|
||||
typedef const_binary_predicate_archetype<int, int> const_F;
|
||||
REQUIRE3(const_F, int, int, Const_BinaryPredicate);
|
||||
}
|
||||
{
|
||||
typedef input_iterator_archetype<null_archetype> Iter;
|
||||
|
||||
Reference in new issue
Block a user