CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 15:13:44 GMT
content-type: text/html; charset=utf-8
cf-ray: 963c1f9b4e70ea32-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=0a60cb19-3d1e-4f07-a9f2-e52e071e4308; expires=Thu, 23 Jul 2026 15:13:44 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: 2c8cdffa-88bb-4041-9900-d8ba65b7c4dc
x-worker-origin-response-time: 722000000
x-dns-prefetch-control: off
set-cookie: prov=0a60cb19-3d1e-4f07-a9f2-e52e071e4308; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=4sbn6UUM7n8LYkbty7veKcDm65b0BZ0IV1ytdJhkIkw-1753283624-1.0.1.1-VBsn2U5A.1.ISyhgkp7JlumdB1tVYMTHGodqyeomS_JUwTp3uOmtg5Vy18qUs17R2EgVv4epOAYzLKoCYNCXGKDyC_mR697KluAOrACYWjg; path=/; expires=Wed, 23-Jul-25 15:43:44 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=1s.ytCRGbXwYGcanyNvwOoAmyMgb8RzVYu8ZZKkkkbA-1753283624953-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)
9
votes
2
answers
750
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
389
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
132
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
- Why were two 2x6 boards installed on top of a window rough sill?
- Calculating the wall thickness in a hollow rotating cylinder space habitat
- Entity Framework - Is there a safety mechanism to prevent accidentally running Update-Database?
- Is there a formal threshold for when a variable is considered 'random' in statistics? What is it?
- "Tumas t'hom" from merely walking on a non-jewish grave?
- What are these pastries pictured in the "Austria" article in the World Book Encyclopedia?
- Why does my door knob bolt catch in the retracted position?
- Is buying random stocks and then selling off the ones that go down a good way to reduce capital gains tax?
- TeX development in C instead of Pascal
- Did Germany declare the Donetsk People’s Republic to be a terrorist organization, at some point?
- How can I grow kelp or seaweed at home in a small container?
- How to make peaks with thick lines pointy?
- Issue with OR operator in QGIS Rule-Based Labelling expression
- Is it better to nest figure environments inside proof environments, or leave them separate?
- A soviet sci-fi novel (novelette?) with frogs?
- How to 'scale' a square list?
- Why is my gooseberry jam so stiff?
- Voltage level adaptation
- Not sure which test statistic to look at with regression with interaction term
- I wonder whether there exists a book of "Formal power series" and "Formal infinite products"?
- Where did the baby AT motherboard format come from?
- Mother in Law has overstayed her schengen visitor visa by 9 days. She is applying for the same visa this year, what should we take care of?
- What does this "lightbulb-ish" symbol mean in figure 1 of the Diffie Hellmann paper?
- Dystopian 80s sci-fi movie about the USA choosing mediocrity