MongoDB C++ Driver mongocxx-3.11.0
Loading...
Searching...
No Matches
bsoncxx::v_noabi::types::b_string Struct Reference

#include <bsoncxx/v_noabi/bsoncxx/types.hpp>

Description

A BSON UTF-8 encoded string value.

Public Member Functions

template<typename T , detail::requires_not_t< int, detail::is_alike< b_string, T > > = 0>
 b_string (T &&t)
 Constructor for b_string.
 
 operator stdx::string_view () const
 Conversion operator unwrapping a string_view.
 

Related Symbols

(Note that these are not member symbols.)

bool operator!= (const b_string &lhs, const b_string &rhs)
 free function comparator for b_string
 
bool operator== (const b_string &lhs, const b_string &rhs)
 free function comparator for b_string
 

Constructor & Destructor Documentation

◆ b_string()

template<typename T , detail::requires_not_t< int, detail::is_alike< b_string, T > > = 0>
bsoncxx::v_noabi::types::b_string::b_string ( T && t)
inlineexplicit

Constructor for b_string.

Parameters
tThe value to wrap.

Member Function Documentation

◆ operator stdx::string_view()

bsoncxx::v_noabi::types::b_string::operator stdx::string_view ( ) const
inline

Conversion operator unwrapping a string_view.

Friends And Related Symbol Documentation

◆ operator!=()

bool operator!= ( const b_string & lhs,
const b_string & rhs )
related

free function comparator for b_string

◆ operator==()

bool operator== ( const b_string & lhs,
const b_string & rhs )
related

free function comparator for b_string


The documentation for this struct was generated from the following file: