String traits for C-style string constant ("pointer to array of char").
More...
#include <conversions.hxx>
|
| static constexpr zview | to_buf (std::span< char >, char const (&value)[N], ctx={}) noexcept |
| |
| static constexpr std::size_t | size_buffer (char const (&)[N]) noexcept |
| |
| static void | from_string (std::string_view, ctx={})=delete |
| | Don't allow conversion to this type. More...
|
| |
template<std::size_t N>
struct pqxx::string_traits< char[N]>
String traits for C-style string constant ("pointer to array of char").
- Warning
- This assumes that every array-of-char is a C-style string literal. So, it must include a trailing zero. and it must have static duration.
◆ from_string()
Don't allow conversion to this type.
◆ size_buffer()
template<std::size_t N>
|
|
inlinestaticconstexprnoexcept |
◆ to_buf()
template<std::size_t N>
|
|
inlinestaticconstexprnoexcept |
The documentation for this struct was generated from the following file: