MongoDB C++ Driver  mongocxx-3.7.0
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 = stdx::string_view, typename std::enable_if<!std::is_same< b_regex, typename std::decay< T >::type >::value, int >::type = 0>
 b_regex (T &&regex, U &&options=U{})
 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

◆ b_regex()

template<typename T , typename U = stdx::string_view, typename std::enable_if<!std::is_same< b_regex, typename std::decay< T >::type >::value, int >::type = 0>
bsoncxx::types::b_regex::b_regex ( T &&  regex,
U &&  options = U{} 
)
inlineexplicit

Constructor for b_regex.

Parameters
regexThe regex pattern
optionsThe regex options

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