Search
1000 results for “cpp”
-
It was a lot of work to convert the std::vector to mmap(), but it's done now! Now I have a little problem with con/destruction, as is often the case in #cpp: when pushing smth to the stack I need to use the placement new:
sp --; new (sp) Expression{...};
Otherwise operator= tries to destruct the dummy-initialized std::string inside Expression.
And also I need to destruct Expression if I don't want memory leaks from the constructed std::string. -
Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming
-
Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming
-
Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming
-
@deezo nope, same result. clang-format seems to see some structure in this aggregate with designated initializers that tips the formatter over. Its a LLVM based style, minor adjustments for lambdas. #cpp #ClangFormat
-
@deezo nope, same result. clang-format seems to see some structure in this aggregate with designated initializers that tips the formatter over. Its a LLVM based style, minor adjustments for lambdas. #cpp #ClangFormat
-
@deezo nope, same result. clang-format seems to see some structure in this aggregate with designated initializers that tips the formatter over. Its a LLVM based style, minor adjustments for lambdas. #cpp #ClangFormat
-
Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat
-
Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat
-
Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat
-
Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.
Jury's still out on if I'll keep "format when typing" enabled or not.
-
Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.
Jury's still out on if I'll keep "format when typing" enabled or not.
-
Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.
Jury's still out on if I'll keep "format when typing" enabled or not.
-
Been checking out clang format a bit, trying to have it enabled for new code I write. I like it for the 98% of the stuff it gets right, but the 2% I can't configure the way I want it makes it kind of unusable to format whole documents.
Jury's still out on if I'll keep "format when typing" enabled or not.
-
does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible
-
does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible
-
does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible
-
does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible
-
Any C++ sourcerer here? (I think it is a #CPP thing...) #jpype struggles with non-ASCII chars in the JDK path... https://github.com/jpype-project/jpype/issues/1111
-
Cheers people, anyone into C++ #CPP would like to help both the #Python and #Java communities at once?
I have this #jpype issue that affects many Portuguese-speaking users (and I bet, other international users) that have non-ascii chars in their folder names scattered through their OSs.... https://github.com/jpype-project/jpype/issues/1111
This causes trouble for me personally because #py5 depends on jpype and my students have #ThonnyIDE frequently in a directory with non-ascii chars in its path, due to their usernames or on "Área de Trabalho" (desktop)... etc.
-
Does a move constructor have to reinitialize the old object? Did I read the code correctly?
There are definitely things I was more confident about. -
Does a move constructor have to reinitialize the old object? Did I read the code correctly?
There are definitely things I was more confident about. -
Does a move constructor have to reinitialize the old object? Did I read the code correctly?
There are definitely things I was more confident about. -
hello everyone.
in today's article we are writing a port scanner tool with c++.I wish everyone a good reading and work.
https://denizhalil.com/2024/12/11/build-cpp-port-scanner-tool/#cppprogramming #cybersecuritytools #ethicalhacking #networksecurity #portscanner #socketprogramming
-
Dive into the world of operator overloading in C++! Learn how to customize built-in operators for your classes, enhance code readability, and create more intuitive interfaces. Master this powerful feature to level up your C++ skills! #CppProgramming
https://teguhteja.id/operator-overloading-in-cpp-mastering-custom-operators/
-
Dive into the world of operator overloading in C++! Learn how to customize built-in operators for your classes, enhance code readability, and create more intuitive interfaces. Master this powerful feature to level up your C++ skills! #CppProgramming
https://teguhteja.id/operator-overloading-in-cpp-mastering-custom-operators/
-
Dive into C++ functions, from basic parameters to advanced dynamic memory allocation. Learn to create efficient, flexible code. Boost your C++ programming skills with our comprehensive guide. #CPPProgramming #CodingTips
https://teguhteja.id/cpp-functions-mastering-parameters-to-dynamic-memory/
-
Dive into C++ functions, from basic parameters to advanced dynamic memory allocation. Learn to create efficient, flexible code. Boost your C++ programming skills with our comprehensive guide. #CPPProgramming #CodingTips
https://teguhteja.id/cpp-functions-mastering-parameters-to-dynamic-memory/
-
@thephd I think naming it "modules" is a mistake. I keep expecting it to be a packaging format, but it's not. It's a more flexible version of precompiled headers…
…that doesn't get completely invalidated because you adjusted the order of import, or your macro definitions.
The idea is what happens outside a module can't affect the definitions exported from the module. Which explains why macros defined outside the module aren't visible inside it. #cppProgramming #cPlusPlus
-
@thephd I think naming it "modules" is a mistake. I keep expecting it to be a packaging format, but it's not. It's a more flexible version of precompiled headers…
…that doesn't get completely invalidated because you adjusted the order of import, or your macro definitions.
The idea is what happens outside a module can't affect the definitions exported from the module. Which explains why macros defined outside the module aren't visible inside it. #cppProgramming #cPlusPlus