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

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

Description

A BSON JavaScript code value.

Public Member Functions

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

Related Symbols

(Note that these are not member symbols.)

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

Constructor & Destructor Documentation

◆ b_code()

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

Constructor for b_code.

Parameters
tThe js code

Member Function Documentation

◆ operator stdx::string_view()

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

Conversion operator unwrapping a string_view.

Friends And Related Symbol Documentation

◆ operator!=()

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

free function comparator for b_code

◆ operator==()

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

free function comparator for b_code


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