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

A BSON UTF-8 encoded string value. More...

#include <types.hpp>

Public Member Functions

template<typename T , typename std::enable_if<!std::is_same< b_utf8, typename std::decay< T >::type >::value, int >::type = 0>
 b_utf8 (T &&t)
 Constructor for b_utf8. More...
 
 operator stdx::string_view ()
 Conversion operator unwrapping a string_view.
 

Related Functions

(Note that these are not member functions.)

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

Detailed Description

A BSON UTF-8 encoded string value.

Constructor & Destructor Documentation

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

Constructor for b_utf8.

Parameters
valueThe value to wrap.

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