mcpp index

compat.boost-concept-check

#include

Boost.ConceptCheck 1.92.0 — compile-time checks for C++ concepts and requirements

#include <boost/concept_check.hpp>
mcpp add compat.boost-concept-check@1.92.0

Usage

From this repository's own test project — built and run by CI, not written for the website.

#include <boost/concept_check.hpp>

BOOST_CONCEPT_ASSERT((boost::CopyConstructible<int>));
BOOST_CONCEPT_ASSERT((boost::DefaultConstructible<int>));

int main() {
    int value = 42;
    return value == 42 ? 0 : 1;
}

tests/examples/boost-concept-check/tests/concepts.cpp · project tests/examples/boost-concept-check

Build

targets
boost_concept_check (lib)
language
c++23
import std
no
include dirs
*/include

Sources (1)

  • mcpp_generated/boost_concept_check_anchor.cpp

Generated files

  • mcpp_generated/boost_concept_check_anchor.cpp

Versions

VersionPlatforms Mirrorssha256
1.92.0 latest LinuxWindowsmacOS source 8dbd2385b004…