This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Standard requires atleast 32, but except | |
* for this upper bound the limit is implementation | |
* defined. | |
*/ | |
#define ATEXIT_HANDLER_LIMIT 32 | |
typedef void (*atexit_handler_t)(void); | |
static atexit_handler_t static_handlers[ATEXIT_HANDLER_LIMIT]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/uspace/app/cpptest/main.cpp | |
+++ b/uspace/app/cpptest/main.cpp | |
@@ -1,12 +1,100 @@ | |
+#include <iostream> | |
+#include <tuple> | |
+ | |
+struct Foo | |
+{ | |
+ Foo() | |
+ { |