Skip to content
Snippets Groups Projects
Unverified Commit bfa707c7 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

data: change alphabet::Gap integral type representation

The representation '*' was shared with NodeWildcard. I believe '*'
is better for NodeWildcard so let's change Gap to '~'.
At first I wanted to use '_' but it is already occupied by
BottomOfTheStackSymbol and the underscore is probably better suited for
that.
parent a7d75bf7
No related branches found
No related tags found
1 merge request!230Merge tp
......@@ -82,7 +82,7 @@ public:
template < typename Base >
inline Base Gap::instance ( ) {
if constexpr ( std::is_integral_v < Base > ) {
return '*';
return '~';
} else if constexpr ( std::is_same_v < Base, std::string > ) {
return std::string ( 1, Gap::instance < char > ( ) );
} else if constexpr ( std::is_same_v < Base, Gap > ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment