|
endBoost , Chapter 1. Fusion 2.2 , Metafunctions
Возвращает тип результата<end>.
template<typename Seq>
struct end
{
typedef unspecified type;
};
result_of::end<Seq>::type
Тип возврата:
Семантика: Возвращает тип итератора один за концом<Seq>.
#include <boost/fusion/sequence/intrinsic/end.hpp>
#include <boost/fusion/include/end.hpp>
typedef vector<int> vec;
typedef result_of::prior<result_of::end<vec>::type>::type first;
BOOST_MPL_ASSERT((result_of::equal_to<first, result_of::begin<vec>::type>))
Статья end раздела Chapter 1. Fusion 2.2 Metafunctions может быть полезна для разработчиков на c++ и boost.
:: Главная :: Metafunctions ::
|
|