OKlibrary  0.2.1.6
LibraryBasics_Tests.hpp File Reference

Tools for testing concept definitions (and related constructions). More...

#include <boost/static_assert.hpp>
#include <boost/type_traits.hpp>
#include <OKlib/Concepts/ConceptsMetafunctions.hpp>

Go to the source code of this file.

Namespaces

namespace  OKlib
 

All components of the OKlibrary.


namespace  OKlib::Concepts
 

Concept definitions and accompanying generic tests.


namespace  OKlib::Concepts::ConceptTests
 

Contains macros for testing concept definitions (and related constructions).


Defines

#define OKLIB_BASIC_CONCEPT_TEST_TAG(concept)   BOOST_STATIC_ASSERT(OKlib::Concepts::IsConceptTag< concept ## _tag >::value);
 Tests, whether with concept a concept tag is associated.
#define OKLIB_BASIC_CONCEPT_TEST_ARCHETYPE(concept)   template class concept< concept ## _Archetype >;
 Tests, whether with concept an archetype is associated which fulfills the concept.

Detailed Description

Tools for testing concept definitions (and related constructions).

Definition in file LibraryBasics_Tests.hpp.


Define Documentation

#define OKLIB_BASIC_CONCEPT_TEST_ARCHETYPE (   concept)    template class concept< concept ## _Archetype >;

Tests, whether with concept an archetype is associated which fulfills the concept.

Definition at line 45 of file LibraryBasics_Tests.hpp.

#define OKLIB_BASIC_CONCEPT_TEST_TAG (   concept)    BOOST_STATIC_ASSERT(OKlib::Concepts::IsConceptTag< concept ## _tag >::value);

Tests, whether with concept a concept tag is associated.

Definition at line 38 of file LibraryBasics_Tests.hpp.