CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 08:26:22 GMT
content-type: text/html; charset=utf-8
cf-ray: 96318d7c2e892ffb-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=f54f75bb-aa82-4a98-b9c5-899c629e6c0e; expires=Wed, 22 Jul 2026 08:26:21 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-frame-options: SAMEORIGIN
x-request-guid: e33e9368-d41f-43cd-bc76-e81780583d99
x-worker-origin-response-time: 696000000
x-dns-prefetch-control: off
set-cookie: prov=f54f75bb-aa82-4a98-b9c5-899c629e6c0e; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=KVOTP3qppYDB2Zux8lnBil7GPJZSR8T7PSv69Z_nliw-1753172782-1.0.1.1-CbD9pqcnvmVMlVJVXNY_PomF6FyxfrKe8wLWNLcwaBkjzHcVkZXteEPHrcr2Np8ffQbudtZXYW2h5IZPDCS2NumcxflFgqa6lIKtfFsPWQ8; path=/; expires=Tue, 22-Jul-25 08:56:22 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=oQh9NB_XmzOqO4Tj4a0ZyIFnNUd7Abej.q.uCv8d76g-1753172782191-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'reinventing-the-wheel' 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 [reinventing-the-wheel]
For when you know you are reinventing the wheel, but are doing it anyways. Questions with this tag involve code that is already fully implemented (such as from a library).
1,045 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
8
votes
2
answers
431
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 ...
5
votes
2
answers
124
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
5
answers
388
views
Custom hash function as Bash script
I'm looking for a (possibly cryptographic strong) hash function in Bash with the following properties:
The input is only a string with 4 lower-case characters: aaaa to zzzz
The output should be a ...
10
votes
3
answers
2k
views
C++ std::optional implementation for tech interview
I'm preparing for entry-level C++ developer interview and decided to implement some of std:: members. Here's my implementation of std::optional. I would be grateful ...
1
vote
2
answers
131
views
Implementation of my multidict in Python
I need a code review for my implementation of my multidict in Python.
I'm not sure that my method below is implemented the best way:
...
6
votes
1
answer
215
views
Histogram of Image using std::map in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++ and histogram Template Function Implementation for Image in C++. Considering ...
7
votes
2
answers
672
views
histogram Template Function Implementation for Image in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++. I implemented histogram template ...
5
votes
1
answer
60
views
QT 6 C++ Model View View Model Graphic Photo Size Reducer Tool
This is my first attempt at using the QT portable graphic system. I need to learn QT to pursue some of the positions I am interested in.
I realize the photo size reducer problem may be getting boring, ...
9
votes
4
answers
1k
views
C++20 Singly Linked List with Iterator
Below is the code I wrote to implement a singly linked list. To keep things simple, I omitted things like copy constructor. Aside from general feedback, here are some specifics I would like addressed:
...
10
votes
4
answers
1k
views
Linear version of std::bit_ceil that computes the smallest power of 2 that is no smaller than the input integer
I am not looking for feedback on the algorithm itself, but rather on the implementation; things like modern C++20 writing, style, proper ways to test and handle the validity of input (should I be ...
4
votes
2
answers
401
views
Arena/Region Allocator in C++ (rev 2)
2nd revision of original post: Arena/Region Allocator in C++
Context, changes
Trying to get a better grasp on low-level memory management, I implemented an arena allocator in C++. It's a rough ...
9
votes
1
answer
646
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 ...
5
votes
1
answer
76
views
Command Line Photo Size Reduction Tool - version 3
This is the third version of the photo size reduction tool for code review. The previous reviews are Resize 200 photos quickly in C++ using opencv and Photo Reduction Tool version 2 - Possible ...
7
votes
1
answer
273
views
Errors as values and Generic Option, Result types in C++
I wanted to get an in-depth view of both Templates and Concepts in C++, so I made this library. https://github.com/Hernanatn/errores--
I'd like to ask:
is this a proper use of concepts?
is the code ...
7
votes
1
answer
234
views
two_input_map_reduce Template Function Implementation in C++
This is a follow-up question for euclidean_distance Template Function Implementation for Image in C++. To avoid two unnecessary temporary images in the previous version of code, a new ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
c++ × 333
python × 225
c × 131
java × 129
python-3.x × 106
beginner × 100
algorithm × 89
strings × 87
performance × 81
linked-list × 71
c# × 69
c++11 × 63
javascript × 52
haskell × 45
object-oriented × 37
c++17 × 35
memory-management × 35
parsing × 35
sorting × 33
pointers × 31
c++20 × 30
hash-map × 28
cryptography × 27
vectors × 27
stack × 26
more related tags
Hot Network Questions
- On my Ubuntu-based distro (Linux Lite), how to auto delete all network connections, disable Wi-Fi and networking as part of booting process?
- Comprehensive explanation of targum onkelus
- Copy/paste pose from armature to armature not working
- Flow velocity due to stack effect (chimney effect)
- How does Rav Kotler assign final letters in 5 cases in Vayikra-Bamidbar?
- What does this "lightbulb-ish" symbol mean in figure 1 of the Diffie Hellmann paper?
- TV episode where a disfigured human exchanges places with a normal-looking human from another planet
- How can I keep a new window stool level?
- How can I add a bevel modifier that uses vertex group on top of a bevel modifier using bevel weight?
- Why do I need to reopen Vim to have the auto-commands in .vimrc in effect even after sourcing it?
- How to deal with missing data in the response variable
- Which PowerShell commands are automatically scrubbed from Get-History?
- Designing a PCB to actuate a 24VDC solenoid valve using timer pulses
- Explorers land on alien planet on which is a dark/black tower which can control machinery
- Construction of van Douwen line
- Is a Rakshasa Immune to True Strike?
- Calculating the wall thickness in a hollow rotating cylinder space habitat
- Can I mount my PC with a desktop mount underneath a particle board Ikea Karlby Walnut top?
- What was the nature of the envy that led the religious leaders to hand Jesus over, according to Matthew 27:18?
- Is it normal to require to reference all figures and tables in the text?
- Are some of (most of?) what we describe as "mistakes of our senses/perception", mistakes of our reasoning process?
- What fiction genres do literary agents recognize?
- How should a typical reward curve look like while training a RL model
- Why does internal energy end up higher in an irreversible adiabatic process, even though the work done is less?