MCPcopy Create free account
hub / github.com/boostorg/hana / main

Function main

example/string/searchable.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13
14int main() {
15 BOOST_HANA_CONSTANT_CHECK(hana::char_c<'c'> ^hana::in^ BOOST_HANA_STRING("abcde"));
16 BOOST_HANA_CONSTANT_CHECK(!(hana::char_c<'z'> ^hana::in^ BOOST_HANA_STRING("abcde")));
17
18 BOOST_HANA_CONSTANT_CHECK(
19 hana::find(BOOST_HANA_STRING("abcxefg"), hana::char_c<'x'>) == hana::just(hana::char_c<'x'>)
20 );
21}

Callers

nothing calls this directly

Calls 1

findClass · 0.50

Tested by

no test coverage detected