xtd 0.2.0
Loading...
Searching...
No Matches
tunit_main.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/startup>
6#include <xtd/static>
7#include "../tunit_export.hpp"
8
10struct tunit_export_ __tunit_main final static_ {
11 static auto main() -> int;
12 static auto main_with_gtest_compatibility() -> int;
13};
15
39#define tunit_main_ \
40 __tunit_main::main
41
65#define tunit_main_with_gtest_compatibility_ \
66 __tunit_main::main_with_gtest_compatibility
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
#define tunit_export_
Define shared library export.
Definition tunit_export.hpp:13