MongoDB C++ Driver  mongocxx-3.0.1
Public Member Functions | Related Functions | List of all members
bsoncxx::types::b_symbol Struct Reference

A BSON JavaScript code value. More...

#include <types.hpp>

Public Member Functions

template<typename T >
 b_symbol (T &&symbol)
 Constructor for b_symbol. More...
 
 operator stdx::string_view ()
 Conversion operator unwrapping a string_view.
 

Related Functions

(Note that these are not member functions.)

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

Detailed Description

A BSON JavaScript code value.

Warning
This BSON type is used internally by the MongoDB server - use by clients is discouraged.

Constructor & Destructor Documentation

template<typename T >
bsoncxx::types::b_symbol::b_symbol ( T &&  symbol)
inlineexplicit

Constructor for b_symbol.

Parameters
symbolThe symbol.

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