...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(EXPERIMENTAL) Creates a constant_string_view
from a runtime
value.
Defined in header <boost/mysql/constant_string_view.hpp>
constexpr constant_string_view runtime( string_view value);
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.