MongoDB C++ Driver 4.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bsoncxx::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!= (b_code const &lhs, b_code const &rhs)
 free function comparator for b_code
 
bool operator== (b_code const &lhs, b_code const &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!= ( b_code const & lhs,
b_code const & rhs )
related

free function comparator for b_code

◆ operator==()

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

free function comparator for b_code


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