![]() |
Home | Libraries | People | FAQ | More |
Creates a constant_string_view from a runtime
value.
Defined in header <boost/mysql/constant_string_view.hpp>
constexprconstant_string_viewruntime(string_viewvalue) noexcept;
You can use this function to bypass the consteval
check performed by constant_string_view constructor.
Don't use this function unless you know what you are doing. consteval checks exist for the sake of
security. Make sure to only pass trusted values to the relevant API.
No-throw guarantee.
The returned value has the same lifetime semantics as the passed view.
Convenience header <boost/mysql.hpp>