...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns the result type of replace, given the types of the input sequence and element to replace.
template< typename Sequence, typename T > struct replace { typedef unspecified type; };
Table 1.77. Parameters
Parameter |
Requirement |
Description |
---|---|---|
Sequence |
A model of Forward Sequence |
Operation's argument |
T |
Any type |
The type of the search and replacement objects |
result_of::replace<Sequence,T>::type
Return type: A model of Forward Sequence.
Semantics: Returns the return type of replace.
Constant.
#include <boost/fusion/algorithm/transformation/replace.hpp> #include <boost/fusion/include/replace.hpp>