Menu

[94f52a]: / parser / not_char.hpp  Maximize  Restore  History

Download this file

20 lines (15 with data), 410 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#ifndef CHILON_PARSER_NOT_CHAR_HPP
#define CHILON_PARSER_NOT_CHAR_HPP
#include <chilon/parser/char.hpp>
namespace chilon { namespace parser {
template <char C>
struct not_char : char_base<not_char<C>> {
template <class Char>
inline static bool match_char(Char const ch) {
return ch != C;
}
};
template <char C>
struct parse<not_char<C>> : detail::parse_char<not_char<C>> {};
} }
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.