home.social

Search

1000 results for “cpp”

  1. 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 : 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.

  2. Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods?

  3. Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming

  4. Has scientists figured out yet how to get clang-format to not bizarrely try to align chained methods? #cpp #clang #llvm #clangformat #cplusplus #programming

  5. @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

  6. @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

  7. @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

  8. Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat

  9. Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat

  10. Any #cpp folks out there know how to tame clang-format with contemporary C++ ... look at the brackets for indices ... why? #ClangFormat

  11. 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.

    #cpp #clang #ClangFormat

  12. 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.

    #cpp #clang #ClangFormat

  13. 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.

    #cpp #clang #ClangFormat

  14. 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.

    #cpp #clang #ClangFormat

  15. does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible

    #clang #llvm #programming #c

  16. does any people know how to get to stop doing this BS, it looks so horrible

  17. does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible

    #clang #llvm #programming #c

  18. does any #CPP people know how to get #ClangFormat to stop doing this BS, it looks so horrible

    #clang #llvm #programming #c

  19. Any C++ sourcerer here? (I think it is a #CPP thing...) #jpype struggles with non-ASCII chars in the JDK path... github.com/jpype-project/jpype

  20. 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.... github.com/jpype-project/jpype

    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.

  21. 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.

    github.com/LaKabane/libtuntap/

    #CPP #Programming #CPPProgramming

  22. 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.

    github.com/LaKabane/libtuntap/

    #CPP #Programming #CPPProgramming

  23. 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.

    github.com/LaKabane/libtuntap/

    #CPP #Programming #CPPProgramming

  24. 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

    teguhteja.id/operator-overload

  25. 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

    teguhteja.id/operator-overload

  26. 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

    teguhteja.id/cpp-functions-mas

  27. 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

    teguhteja.id/cpp-functions-mas

  28. @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

  29. @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