xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
static.h
Go to the documentation of this file.
1 #pragma once
5 
7 namespace xtd {
21  class static_object {
22  static_object() = delete;
23  };
24 
38  #define static_ \
39  : xtd::static_object
40 
54  #define static_object_ \
55  : xtd::static_object
56 }
Represent a static object. A static class can't be instantiated (constructors are deleted).
Definition: static.h:21
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17