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

A BSON JavaScript code with scope value. More...

#include <types.hpp>

Public Member Functions

template<typename T , typename U , typename std::enable_if<!std::is_same< b_codewscope, typename std::decay< T >::type >::value, int >::type = 0>
 b_codewscope (T &&code, U &&scope)
 Constructor for b_codewscope. More...
 

Related Functions

(Note that these are not member functions.)

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

Detailed Description

A BSON JavaScript code with scope value.

Constructor & Destructor Documentation

◆ b_codewscope()

template<typename T , typename U , typename std::enable_if<!std::is_same< b_codewscope, typename std::decay< T >::type >::value, int >::type = 0>
bsoncxx::types::b_codewscope::b_codewscope ( T &&  code,
U &&  scope 
)
inlineexplicit

Constructor for b_codewscope.

Parameters
codeThe js code
scopeA bson document view holding the scope environment.

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