C-Python-like-Decorators
How to write decorator functions in modern C++ (by TheMaverickProgrammer)
C-Golang-like-Defer
Cursed defer() method in C++ achieves similar results as Go's defer keyword. (by TheMaverickProgrammer)
Our great sponsors
C-Python-like-Decorators | C-Golang-like-Defer | |
---|---|---|
2 | 1 | |
157 | 0 | |
- | - | |
1.8 | 2.7 | |
over 3 years ago | over 2 years ago | |
C++ | C++ | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
C-Python-like-Decorators
Posts with mentions or reviews of C-Python-like-Decorators.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-18.
-
Golang-like defer operation in C++
When I learn a new programming language, I find little gems in them that I really wish C++ had. I've made a write-up before on making Python-like function decorators in modern C++ with no macro magic, but today I have been inspired by the Go programming language's defer keyword.
-
Are Metaclasses still coming to C++?
For example you could do a poor man's decorator by wrapping functions in C++: https://github.com/TheMaverickProgrammer/C-Python-like-Decorators
C-Golang-like-Defer
Posts with mentions or reviews of C-Golang-like-Defer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-18.
-
Golang-like defer operation in C++
Run the program in your browser at Godbolt Fork the code
What are some alternatives?
When comparing C-Python-like-Decorators and C-Golang-like-Defer you can also consider the following projects:
GSL - Guidelines Support Library
papers - ISO/IEC JTC1 SC22 WG21 paper scheduling and management
abseil-cpp - Abseil Common Libraries (C++)
defer.hpp - Go's defer implementation in C++17