mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-18 05:08:11 +00:00
Added thirdparty: boost library
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
#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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user