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

A BSON JavaScript code value. More...

#include <types.hpp>

Public Member Functions

template<typename T , typename std::enable_if<!std::is_same< b_code, typename std::decay< T >::type >::value, int >::type = 0>
 b_code (T &&t)
 Constructor for b_code. 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_code &lhs, const b_code &rhs)
 free function comparator for b_code
 

Detailed Description

A BSON JavaScript code value.

Constructor & Destructor Documentation

◆ b_code()

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

Constructor for b_code.

Parameters
codeThe js code

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