1 #ifndef BOOST_METAPARSE_V1_ERROR_INDEX_OUT_OF_RANGE_HPP
2 #define BOOST_METAPARSE_V1_ERROR_INDEX_OUT_OF_RANGE_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
21 template <int From, int To, int N>
22 struct index_out_of_range
24 typedef index_out_of_range type;
26 static std::string get_value()
30 << "index (" << N << ") out of range ["
31 << From << "-" << To << "]";