Skip to main content

Questions tagged [c++17]

Code that is written to the 2017 version of the C++ standard. Use in conjunction with the 'c++' tag.

-4 votes
0 answers
54 views

I'm fairly new to C++, and I'm trying to improve my skills. I'd appreciate it if you could take a look at my project and share any feedback or suggestions. It's a small database implementation written ...
user483882's user avatar
4 votes
2 answers
126 views

I implemented a templated vector_view class that holds a reference to an std::vector and provides the following operations: ...
Raghav Malik's user avatar
9 votes
2 answers
861 views

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 ...
Quasar's user avatar
  • 639
6 votes
3 answers
1k views

I started reading the GameProgrammingPatterns book and wanted to implement the command pattern. ...
Hrant Nurijanyan's user avatar
7 votes
1 answer
779 views

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 ...
Hrant Nurijanyan's user avatar
5 votes
2 answers
156 views

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 ...
Hrant Nurijanyan's user avatar
5 votes
2 answers
175 views

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 ...
Nick's user avatar
  • 1,656
7 votes
2 answers
935 views

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 ...
Danilo's user avatar
  • 367
7 votes
1 answer
560 views

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. ...
Danilo's user avatar
  • 367
7 votes
1 answer
643 views

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 ...
G. Sliepen's user avatar
  • 69.5k
-1 votes
1 answer
117 views

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 ...
user290523's user avatar
5 votes
2 answers
201 views

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 ...
jdc's user avatar
  • 153
7 votes
5 answers
894 views

Given ...
友人A's user avatar
  • 273
6 votes
2 answers
207 views

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" ...
davidlowryduda's user avatar
9 votes
1 answer
701 views

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 ...
HernanATN's user avatar
  • 369

15 30 50 per page
1
2 3 4 5
40