Apache Mesos
adaptor.hpp
Go to the documentation of this file.
1 // Licensed under the Apache License, Version 2.0 (the "License");
2 // you may not use this file except in compliance with the License.
3 // You may obtain a copy of the License at
4 //
5 // http://www.apache.org/licenses/LICENSE-2.0
6 //
7 // Unless required by applicable law or agreed to in writing, software
8 // distributed under the License is distributed on an "AS IS" BASIS,
9 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 // limitations under the License.
11 
12 #ifndef __STOUT_ADAPTOR_HPP__
13 #define __STOUT_ADAPTOR_HPP__
14 
15 #include <boost/range/adaptor/reversed.hpp>
16 
17 // This is modeled after boost's Range Adaptor. It wraps an existing
18 // iterator to provide a new iterator with different behavior. See
19 // details in boost's reference document:
20 // http://www.boost.org/doc/libs/1_53_0/libs/range/doc/html/index.html
21 namespace adaptor {
22 
23 using boost::adaptors::reverse;
24 
25 } // namespace adaptor {
26 
27 #endif // __STOUT_ADAPTOR_HPP__
Definition: adaptor.hpp:21