12345678910111213141516171819202122232425262728293031323334 |
- #ifndef BOOST_PROTO_FUNCTIONAL_RANGE_EMPTY_HPP_EAN_27_08_2012
- #define BOOST_PROTO_FUNCTIONAL_RANGE_EMPTY_HPP_EAN_27_08_2012
- #include <boost/range/empty.hpp>
- #include <boost/proto/proto_fwd.hpp>
- namespace boost { namespace proto { namespace functional
- {
-
- struct empty
- {
- BOOST_PROTO_CALLABLE()
- typedef bool result_type;
- template<typename Rng>
- bool operator()(Rng const &rng) const
- {
- return boost::empty(rng);
- }
- };
- }}}
- #endif
|