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

Class replace

example/tutorial/appendix_mpl.cpp:291–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289
290template <typename Sequence, typename OldType, typename NewType>
291struct replace {
292 using type = decltype(hana::replace(
293 hana::to_tuple(Sequence{}),
294 hana::type_c<OldType>,
295 hana::type_c<NewType>
296 ));
297};
298
299template <typename Sequence, typename Pred, typename NewType>
300struct replace_if {

Callers 3

replace.cppFile · 0.85
TestFunctorMethod · 0.85
TestFunctorMethod · 0.85

Calls

no outgoing calls

Tested by 2

TestFunctorMethod · 0.68
TestFunctorMethod · 0.68