xtd
0.2.0
Toggle main menu visibility
Home
Categories
Documentation
Namespaces
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
v
x
Enumerations
Related Symbols
Files
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
xtd.core
include
xtd
availability_versions.hpp
Go to the documentation of this file.
1
4
#pragma once
5
7
// Availability versions
8
9
// xtd version definition : major.minor[.build[.revision]]
10
// * major : 0 to 2147483647
11
// * minor : 0 to 99
12
// * build : 0 to 99
13
// * revision : 0 to 99
14
15
// For example xtd 1.2.3 (major = 1, minor = 2, build = 3 and revision = -1) :
16
// #define __XTD_1_2_3__ 1020300
17
18
// Example
19
// The following code shows how to used availability versions.
20
//
21
// #include <xtd/xtd>
22
//
23
// auto main() -> int {
24
// #if defined(__XTD_42_42_42__)
25
// auto s = xtd::xstring("Hello, World!");
26
// #elif defined(__XTD_0_2_0__)
27
// auto s = xtd::string("Hello, World!");
28
// #else
29
// auto s = xtd::ustring("Hello, World!");
30
// #endif
31
// xtd::console::write_line(s);
32
// }
33
34
#define __XTD_0_1_0__ 10000
35
#define __XTD_0_1_1__ 10100
36
#define __XTD_0_1_2__ 10200
37
#define __XTD_0_2_0__ 20000
Generated on Sat Jun 28 2025 19:31:46 for xtd by
Gammasoft
. All rights reserved.