libcarla/include/system/boost/metaparse/v1/error/literal_expected.hpp

37 lines
715 B
C++
Raw Normal View History

2024-10-18 13:19:59 +08:00
#ifndef BOOST_METAPARSE_V1_ERROR_LITERAL_EXPECTED_HPP
#define BOOST_METAPARSE_V1_ERROR_LITERAL_EXPECTED_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <string>
namespace boost
{
namespace metaparse
{
namespace v1
{
namespace error
{
template <char C>
struct literal_expected
{
typedef literal_expected type;
static std::string get_value()
{
return std::string("Expected: ") + C;
}
};
}
}
}
}
#endif