Define ecl_compile_time_concept_test

Define Documentation

ecl_compile_time_concept_test(Model)

Convenient notational macro for setting up a concept testing function.

The actual mechanics of concept testing has to be implemented in the concept class’ destructor. This macro is purely just a notational convenience that makes it clear when programming the precise meaning of what is intended for your concept class.

Usage:

class MyConcept {
    public:
        ecl_compile_time_concept_test(MyConcept)
        {
            // compile time concept checks here.
        }
};