CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 19:45:55 GMT
content-type: text/html; charset=utf-8
cf-ray: 965ea3cb6cdae8e0-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=f422e7f0-c753-46c7-92f8-49c9ff72a251; expires=Mon, 27 Jul 2026 19:45:54 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 0641f326-6c5e-48da-9180-b34689772f71
x-worker-origin-response-time: 547000000
x-dns-prefetch-control: off
set-cookie: prov=f422e7f0-c753-46c7-92f8-49c9ff72a251; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=5cXlYDFwdd4HbQ2pEUiIJTaLB3mSz3kzfxZwsrPqTD8-1753645555-1.0.1.1-YBkAs1M.RUiWtGhIeFHAnpw7Ph6ImW8lZ18VH5KhBjuTQwBjnyqW__iMo2KGEaXKajUSPO3yoYfpg2dPYLyCH0P01b0Vo7Ljjnfgbho8CDM; path=/; expires=Sun, 27-Jul-25 20:15:55 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=ExyyqAr3.aEry3tzdsdMoMj72XC5EGRUk0J_DAk7zGk-1753645555023-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'c++17' Questions - Code Review Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [c++17]
Code that is written to the 2017 version of the C++ standard. Use in conjunction with the 'c++' tag.
593 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
9
votes
2
answers
781
views
My shared_ptr implementation
I would like to ask for a code review of my shared_ptr<T> implementation for design, code style. Any nitpicks will extremely useful for me. The features ...
6
votes
3
answers
1k
views
Game Design Patterns Command implementation
I started reading the GameProgrammingPatterns book and wanted to implement the command pattern.
...
7
votes
1
answer
739
views
JSON powered C++ CLI Engine
I decided to create cli(s) in C++. For instance a music player which will play music from my library via commands player play muse or ...
5
votes
2
answers
120
views
First game in C++ Snake2d
I decided to dig into game programming, and here is my first C++ project snake2d game.
Please review it. I've used X11 for Linux and Win32 API for Windows build. For graphics and rendering part I've ...
5
votes
2
answers
128
views
constexpr friendly vector with static storage and no allocation
My take 2 on constexpr friendly StaticVector.
If the value_type is trivial, it can be user in constexpr functions normally.
If the value_type is not trivial, it uses placement new / destroy and ...
7
votes
2
answers
874
views
Integer to string converter - gcc builtins only
This is version 2 of prior post - per : CRSE:tour and Guide.
Due to unintended generalization of prior question for brevity sake, here are requirements:
Code should be portable and run on ...
7
votes
1
answer
503
views
Integer to string via gcc converter
I've been playing with shared libraries and core functionalities with gcc/g++. Using only gcc builtins I've tried to make an integer to string converter.
...
7
votes
1
answer
580
views
A static version of std::polymorphic
There sometimes is a desire to have access to the base class of a polymorphic object without wanting the overhead of dynamic allocation, see for example this question. For a more value-like way of ...
-1
votes
1
answer
96
views
Am I overusing classes and/or OOP features? [closed]
I have a very class heavy approach to writing C++ code, which I don't think is necessarily wrong. However, I often use classes without knowing if I actually need them, which I feel leads to making ...
5
votes
2
answers
177
views
Design By Contract Library in C++
I asked this question on StackOverflow, and got exactly the answer I needed at the time. I am now here to ask - Is this a good design?
The motivation for writing up this library: my shop writes ...
7
votes
5
answers
839
views
6
votes
2
answers
190
views
Markov sentence generator on input file
This is a Markov chain generator. It reads a file, reads all triples of words, and creates the Markov model. The model it makes is weighted, by which I mean that if "word1 word2 word3" ...
9
votes
1
answer
649
views
Arena/Region allocator in C++
Update: 2nd revision on separate post: Arena/Region Allocator in C++ (rev 2)
Original Post
Trying to get a better grasp on low-level memory management, I implemented an arena allocator in C++.
It's a ...
6
votes
3
answers
609
views
Initialize std::map
I would like to make the initialization code for the C++ std::map instance (table in the example below) a little more clean. ...
7
votes
3
answers
1k
views
C++ code reading from a text file, storing value in int, and outputting properly rounded float
Late important updates (unified)
I found, that on my Pi's Debian 12 Bookworm (arm64), there is just an older g++-12 available. ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
c++ × 571
algorithm × 68
beginner × 58
template × 43
performance × 35
iterator × 21
multithreading × 21
object-oriented × 19
strings × 19
memory-management × 17
variadic × 17
pointers × 16
c++11 × 15
game × 13
boost × 12
collections × 10
c++20 × 10
linked-list × 10
parsing × 10
variant-type × 10
array × 9
c++14 × 9
more related tags
Hot Network Questions
- What's the difference between an eVisa and ETA travel authorization?
- How can my dwarves keep humans from reverse engineering their technology?
- Is there any verse which says that throughout the Vedas the praise of Shiva is sung?
- Heretofore I think I have been using 'heretofore' incorrectly
- Meaning of 芭蕉 in Tang age
- Kepler's first law proof error - can anyone help me see what the error is?
- Why are police personnel of all ranks called officers?
- A word with five hundred of a single alphabet? That must be a myth.
- Balancing a Holy Water Bomb
- Sci-fi book where aliens make contact, ask humans to transport themselves to nearby portal
- How to put commutative symbol in a commutative diagram?
- Why doesn't the Windows C compiler reuse incoming shadow space in noreturn functions?
- Source for Adam naming the angels
- Does passive DisplayPort-HDMI adapter work with 4K 60Hz, if host supports DP 1.2 and HDMI 1.4?
- Blinded despite Blindsight?
- How many simple groups are there of a given infinite cardinality?
- Why does Timor-Leste call itself a "Democratic Republic" despite little apparent Marxist-Leninist ideology?
- When did the OEIS get even better?
- Why am I winning always? A coincidence perhaps?
- Rec Letter from Professor (who I haven't done research with) or from Work Supervisor
- Time Machine backup disk not writeable any longer
- Forces applied to a car hood while driving
- In Fantastic Four 2025 shouldn't this thing have taken years?
- 3D projective transformations on text in LuaMetaFun