halcheck
1.0
Loading...
Searching...
No Matches
halcheck
lib
symbol
hash
operator T
operator!=
operator==
symbol
symbol
◆
symbol()
[1/2]
halcheck::lib::symbol::symbol
(
const
std::string
&
)
explicit
Construct a new
symbol
from a
std::string
.
Postcondition
(const
std::string
&)symbol(x) == x
Note
This constructor has O(n) complexity, where n is the length of the input string. Prefer using the string literal version whenever possible. For example:
using namespace
halcheck::lib::literals;
symbol
example =
"my symbol"
_s;
halcheck::lib::symbol
A symbol is conceptually a std::string with constant time equality comparison and hashing.
Definition
atom.hpp:39
Generated by
1.12.0