https://github.com/haxpor/cpp_st
Repo contains tests, experiments using C++17
https://github.com/haxpor/cpp_st
cpp cpp17 standard-template-library stl
Last synced: about 2 months ago
JSON representation
Repo contains tests, experiments using C++17
- Host: GitHub
- URL: https://github.com/haxpor/cpp_st
- Owner: haxpor
- License: mit
- Created: 2019-08-25T17:23:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-09T15:14:45.000Z (about 1 year ago)
- Last Synced: 2025-10-27T05:51:45.212Z (5 months ago)
- Topics: cpp, cpp17, standard-template-library, stl
- Language: C++
- Homepage:
- Size: 7.75 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Example source files over Godbolt.org
Changed the way of updating examples by using godbolt.org, and keeping track of them into [godbolt_list.md](https://github.com/haxpor/cpp_st/blob/master/godbolt_list.md).
# Example source files
Most of the source files are compiled with (unless noted inside the source file)
`g++ -std=c++17 -Wall -Wextra -pedantic ...`
this is similar and features equivalent if compile with clang, just substitute
`clang` in-place of `g++` for the above command.
then you can execute via `./a.out`.
For the case of MSVC, you can execute the following
`cl.exe /EHsc /std:c++17 /W4 ...`
Most of program is a simple single source file program, thus you can judge by its file name for what
to expect. Otherwise for more complex program, it should be inside a directory. Read comment inside main source file of each program for more information on how to compile (in case it's complicated, or what is it demonstrated).
This is by design not to have any build system.
## Note ##
If any source file needs to access resource at run time, those resource files will be inside `res` directory.