compat.boost-concept-check
#includeBoost.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
用法
來自本倉庫自己的測試專案 —— CI 真的編譯並執行過,不是為了網站寫的。
#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 · 專案 tests/examples/boost-concept-check
建置
- targets
boost_concept_check (lib)- language
c++23- import std
- no
- include dirs
*/include
原始檔 (1)
mcpp_generated/boost_concept_check_anchor.cpp
產生的檔案
mcpp_generated/boost_concept_check_anchor.cpp
版本
| 版本 | 平台 | 鏡像 | sha256 |
|---|---|---|---|
1.92.0 最新 |
LinuxWindowsmacOS | 來源 | 8dbd2385b004… |