output_concept.h

Back to Output

pastel/sys/output/

// Description: Output concept
// Documentation: output.txt

#ifndef PASTELSYS_OUTPUT_CONCEPT_H
#define PASTELSYS_OUTPUT_CONCEPT_H

#include "pastel/sys/mytypes.h"

namespace Pastel
{

    struct Output_Concept
    {
        template <
            typename Type,
            typename... ArgumentSet>
        auto requires_(
            Type&& t, 
            ArgumentSet&&... argumentSet) -> decltype
        (
            conceptCheck(
                //! Reports 'that'.
                (t(argumentSet...), 0)
            )
        );
    };

}

#include "pastel/sys/output/output_archetype.h"

#endif