add boost on mac
This commit is contained in:
36
macx64/include/boost/metaparse/v1/error/literal_expected.hpp
Normal file
36
macx64/include/boost/metaparse/v1/error/literal_expected.hpp
Normal file
@@ -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