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

A BSON regex value. More...

#include <types.hpp>

Public Member Functions

template<typename T , typename U >
 b_regex (T &&regex, U &&options)
 Constructor for b_regex. More...
 

Related Functions

(Note that these are not member functions.)

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

Detailed Description

A BSON regex value.

Constructor & Destructor Documentation

template<typename T , typename U >
bsoncxx::types::b_regex::b_regex ( T &&  regex,
U &&  options 
)
inlineexplicit

Constructor for b_regex.

Parameters
regexThe regex pattern
optionsThe regex options

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