We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74e39d0 commit 6f5baa1Copy full SHA for 6f5baa1
1 file changed
libs/openFrameworks/ofMain.h
@@ -113,6 +113,28 @@
113
#include "ofNode.h"
114
115
//--------------------------
116
+#ifdef OF_LEGACY_INCLUDE_STD
117
using namespace std;
-
118
+#else
119
+
120
+// this will eventually be disabled by default
121
+#define OF_USE_MINIMAL_STD
122
+#ifdef OF_USE_MINIMAL_STD
123
+using std::string;
124
+using std::stringstream;
125
+using std::endl;
126
+using std::vector;
127
+using std::max;
128
+using std::make_shared;
129
+using std::deque;
130
+using std::cout;
131
+using std::swap;
132
+using std::pair;
133
+using std::map;
134
+using std::shared_ptr;
135
+using std::weak_ptr;
136
+using std::to_string;
137
+#endif
138
#endif
139
140
+#endif // OF_MAIN_H
0 commit comments