diff --git a/doc/qbk/23_sql_formatting_advanced.qbk b/doc/qbk/23_sql_formatting_advanced.qbk index cdbb663b0..1add19c57 100644 --- a/doc/qbk/23_sql_formatting_advanced.qbk +++ b/doc/qbk/23_sql_formatting_advanced.qbk @@ -112,7 +112,7 @@ instead. [reflink basic_format_context] contains an error code that is set when formatting a value fails. This is called the ['error state], and can be queried using [refmem basic_format_context error_state]. -When [reflink basic_format_context get] is called (after all individual values have been formatted), +When [refmem basic_format_context get] is called (after all individual values have been formatted), the error state is checked. The `system::result` returned by `get` will contain the error state if it was set, or the generated query if it was not: diff --git a/include/boost/mysql/constant_string_view.hpp b/include/boost/mysql/constant_string_view.hpp index a60405eb1..3c43116d4 100644 --- a/include/boost/mysql/constant_string_view.hpp +++ b/include/boost/mysql/constant_string_view.hpp @@ -37,8 +37,10 @@ class constant_string_view { string_view impl_; +#ifndef BOOST_MYSQL_DOXYGEN BOOST_CXX14_CONSTEXPR constant_string_view(string_view value, int) noexcept : impl_(value) {} friend BOOST_CXX14_CONSTEXPR inline constant_string_view runtime(string_view) noexcept; +#endif public: /**