MongoDB C++ Driver
legacy-1.1.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
mongo
stdx
functional.h
1
17
#pragma once
18
19
#if __cplusplus >= 201103L
20
21
#include <functional>
22
23
namespace
mongo
{
24
namespace
stdx {
25
26
using ::std::bind;
27
using ::std::function;
28
namespace
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
38
namespace
mongo
{
39
namespace
stdx {
40
41
using
boost::bind;
42
using
boost::function;
43
44
namespace
placeholders {
45
static
boost::arg<1> _1;
46
static
boost::arg<2> _2;
47
static
boost::arg<3> _3;
48
static
boost::arg<4> _4;
49
static
boost::arg<5> _5;
50
static
boost::arg<6> _6;
51
static
boost::arg<7> _7;
52
static
boost::arg<8> _8;
53
static
boost::arg<9> _9;
54
}
// namespace placeholders
55
56
}
// namespace stdx
57
}
// namespace mongo
58
59
#endif
mongo
Utility functions for parsing numbers from strings.
Definition:
compare_numbers.h:20
Generated by
1.8.10