MongoDB C++ Driver legacy-1.1.1
Loading...
Searching...
No Matches
functional.h
1
17#pragma once
18
19#if __cplusplus >= 201103L
20
21#include <functional>
22
23namespace mongo {
24namespace stdx {
25
26using ::std::bind;
27using ::std::function;
28namespace placeholders = ::std::placeholders;
29
30} // namespace stdx
31} // namespace mongo
32
33#else
34
35#include <boost/bind.hpp>
36#include <boost/function.hpp>
37
38namespace mongo {
39namespace stdx {
40
41using boost::bind;
42using boost::function;
43
44namespace placeholders {
45static boost::arg<1> _1;
46static boost::arg<2> _2;
47static boost::arg<3> _3;
48static boost::arg<4> _4;
49static boost::arg<5> _5;
50static boost::arg<6> _6;
51static boost::arg<7> _7;
52static boost::arg<8> _8;
53static boost::arg<9> _9;
54} // namespace placeholders
55
56} // namespace stdx
57} // namespace mongo
58
59#endif
Utility functions for parsing numbers from strings.
Definition compare_numbers.h:32