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

A BSON Symbol value. More...

#include <types.hpp>

Public Member Functions

template<typename T , typename std::enable_if<!std::is_same< b_symbol, typename std::decay< T >::type >::value, int >::type = 0>
 b_symbol (T &&t)
 Constructor for b_symbol. More...
 
 operator stdx::string_view () const
 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 Symbol value.

Deprecated:
This BSON type is deprecated and use by clients is discouraged.

Constructor & Destructor Documentation

◆ b_symbol()

template<typename T , typename std::enable_if<!std::is_same< b_symbol, typename std::decay< T >::type >::value, int >::type = 0>
bsoncxx::types::b_symbol::b_symbol ( T &&  t)
inlineexplicit

Constructor for b_symbol.

Parameters
symbolThe symbol.

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