![]() |
MySQL 9.6.0
Source Code Documentation
|
Helper class to hold lookup tables indexed by ascii characters. More...
#include <tag.h>
Public Types | |
| using | Transform_t = Transform_tp |
| using | Element_t = std::invoke_result_t< Transform_t, unsigned char > |
| using | Table_t = std::array< Element_t, 256 > |
Static Public Member Functions | |
| static Table_t & | table () |
| Return reference to the table. More... | |
Static Private Member Functions | |
| static Table_t & | build_table (std::initializer_list< unsigned char > char_ranges) |
| Compute the table. More... | |
Helper class to hold lookup tables indexed by ascii characters.
| Transform_tp | Function that transforms letters. It should accept a char argument and return the type of values stored in the table. |
| char_ranges_tp | An even number of char constants, each pair defining the beginning and end of a range of characters included in the table. Both beginning and end are inclusive. |
| using mysql::gtids::detail::Char_table< Transform_tp, char_ranges_tp >::Element_t = std::invoke_result_t<Transform_t, unsigned char> |
| using mysql::gtids::detail::Char_table< Transform_tp, char_ranges_tp >::Table_t = std::array<Element_t, 256> |
| using mysql::gtids::detail::Char_table< Transform_tp, char_ranges_tp >::Transform_t = Transform_tp |
|
inlinestaticprivate |
Compute the table.
|
inlinestatic |
Return reference to the table.