Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the master branch. The current version is 1.92.0.
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>