mirror of
https://github.com/boostorg/hana.git
synced 2026-02-01 08:32:11 +00:00
[Searchable] Rename find to find_if and lookup to find
This commit is contained in:
@@ -93,7 +93,7 @@ BOOST_HANA_CONSTANT_CHECK(char_<'c'> ^in^ BOOST_HANA_STRING("abcde"));
|
||||
BOOST_HANA_CONSTANT_CHECK(!(char_<'z'> ^in^ BOOST_HANA_STRING("abcde")));
|
||||
|
||||
BOOST_HANA_CONSTANT_CHECK(
|
||||
lookup(BOOST_HANA_STRING("abcxefg"), char_<'x'>) == just(char_<'x'>)
|
||||
find(BOOST_HANA_STRING("abcxefg"), char_<'x'>) == just(char_<'x'>)
|
||||
);
|
||||
//! [searchable]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user