Mirror reflection library - Lagoon run-time layer 0.5.13

lagoon/range/offset.hpp

Go to the documentation of this file.
00001 
00010 #ifndef LAGOON_RANGE_OFFSET_1011291729_HPP
00011 #define LAGOON_RANGE_OFFSET_1011291729_HPP
00012 
00013 #include <lagoon/lagoon_fwd.hpp>
00014 #include <cassert>
00015 
00016 LAGOON_NAMESPACE_BEGIN
00017 
00018 
00019 #ifdef MIRROR_DOCUMENTATION_ONLY
00020 
00021 
00030 template <class Range>
00031 inline Range offset(Range range, size_t amount);
00032 #else
00033 template <class Range>
00034 inline Range offset(Range range, size_t amount)
00035 {
00036     range.leap_front(amount);
00037     return range;
00038 }
00039 #endif
00040 
00041 LAGOON_NAMESPACE_END
00042 
00043 #endif //include guard
00044 

Copyright © 2006-2011 Matus Chochlik, University of Zilina, Zilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Fri Dec 16 2011 by Doxygen (version 1.7.3).
Important note: Although the 'boostified' version of Mirror uses the Boost C++ libraries Coding Guidelines and is implemented inside of the boost namespace, it IS NOT an officially reviewed and accepted Boost library. Mirror is being developed with the intention to be submitted for review for inclusion to the Boost C++ libraries.