New answers tagged c++
3
votes
Will anything that's written in c/c++ be rerwritten in rust?
Anything? Sure. I mean, there's literally 50 years of legacy code out there, something will almost certainly be ported.
Everything? No way in hell. I mean, there's literally 50 years of legacy code ...
- 106k
0
votes
How to handle design changes for auto_ptr deprecation in C++11?
“deprecated” means you can still use it if you have a good reason. Having to support an older compiler version is a good reason. I would work until a decision is made that development for cxx03 is ...
- 40.5k
0
votes
How do you use external libraries in git?
If you need full control over the external lib, one option would be:
Fork your own repo from the original one.
Add your own custom build scripts for each OS you need (this usually means wraping your ...
- 101
6
votes
Sink or non-sink API's?
It might be clearer to think about owned vs borrowed data.
Owned data duplicates data in memory, but is much easier to use correctly. With owned data, it is less likely to encounter object lifetime ...
- 130k
0
votes
How to handle dependencies between objects/components
The other option would be having the PhysicsWorld handle the list of physObjects, which seems more intuitive since the PhysicsWorld should probably know about which objects it includes anyway. I like ...
- 70.2k
3
votes
Accepted
Clang compiler is unstable for me, backtrace msg asks me to open a GitHub issue. How often should I post my issue?
Should I submit more issues with more crash messages (because I get them every day), as requested in the crash message?
No. Submitting additional bug-reports for crashes in the same feature will not ...
- 70.2k
0
votes
Design pattern to create a shared lib architecture
Hmm. You could force the RAII structure by making a "shadow main" function that takes a callback. Even a C-style "pointer to function taking no arguments and returning void" ...
- 10.2k
Top 50 recent answers are included
Related Tags
c++ × 2672c × 282
design × 250
object-oriented × 229
design-patterns × 182
java × 154
c++11 × 132
coding-style × 97
c# × 95
object-oriented-design × 90
data-structures × 76
multithreading × 74
programming-practices × 70
algorithms × 69
programming-languages × 68
performance × 68
qt × 65
unit-testing × 59
compiler × 59
inheritance × 58
libraries × 56
python × 55
templates × 52
architecture × 51
memory × 51