-
Notifications
You must be signed in to change notification settings - Fork 1
/
VirtualCppDemos.cpp
47 lines (36 loc) · 1.17 KB
/
VirtualCppDemos.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// C++ features demos
void associative_container_contains_demo();
void string_starts_ends_with_demo();
void char8_t_demo();
void charconv_demo();
void heterogeneous_unordered_lookup_demo();
void consistent_container_erasure_demo();
void is_constant_evaluated_demo();
void constexpr_for_algorithm_and_utility_demo();
void span_demo();
void ranges_demo();
int main()
{
// 1: Associative container contains() Demo
//associative_container_contains_demo();
// 2: String Prefix and Suffix Checking
//string_starts_ends_with_demo();
// 3: char8_t: A type for UTF-8 characters and strings
//char8_t_demo();
// 4: Heterogeneous lookup for unordered containers
//heterogeneous_unordered_lookup_demo();
// 5. Elementary string conversion
//charconv_demo();
// 6. Consistent Container Erasure from Library Fundamentals 2
//consistent_container_erasure_demo();
// 7. std::is_constant_evaluated()
//is_constant_evaluated_demo();
// 8. constexpr for <algorithm> And <utility>
//constexpr_for_algorithm_and_utility_demo();
// 9. <span>
//span_demo();
// 10. <ranges>
//ranges_demo();
}