Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2013. The current version is 1.89.0.
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.88. Parameters
|
Parameter |
Requirement |
Description |
|---|---|---|
|
|
A model of Forward Sequence |
Operation's argument |
|
|
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>