4 #ifndef LEXY_DSL_BOM_HPP_INCLUDED
5 #define LEXY_DSL_BOM_HPP_INCLUDED
13 template <
typename Encoding, lexy::encoding_endianness Endianness>
16 template <lexy::encoding_endianness DontCare>
18 :
_lit<unsigned char, 0xEF, 0xBB, 0xBF>
20 template <lexy::encoding_endianness DontCare>
21 struct _bom<
lexy::utf8_char_encoding, DontCare>
22 :
_lit<unsigned char, 0xEF, 0xBB, 0xBF>
26 :
_lit<unsigned char, 0xFF, 0xFE>
30 :
_lit<unsigned char, 0xFE, 0xFF>
34 :
_lit<unsigned char, 0xFF, 0xFE, 0x00, 0x00>
38 :
_lit<unsigned char, 0x00, 0x00, 0xFE, 0xFF>
42 template <
typename Encoding, lexy::encoding_endianness Endianness>
46 #endif // LEXY_DSL_BOM_HPP_INCLUDED