peterbudai return true;
Home Blog Publications

Tag: cplusplus

  • Using #pragma once with conditional compilation

    October 12, 2014

    The #pragma once directive offers some advantages over the traditional header guard idiom, but as it is not part of the C/C++ standard we have to rely on the – not too verbose – compiler documentations. In this post, I examine what happens if you mix this directive with other preprocessor directives and conditional compilation.

  • Base class as method argument

    June 9, 2012

    Modern object-oriented programming languages won’t allow you to access protected members of base classes when they are used as parameters in the derived class. At first you may find this strange, but I’ll try to explain the reasoning behind this behaviour.

Archives

  • 2019 (1)
  • 2018 (1)
  • 2014 (5)
  • 2013 (1)
  • 2012 (3)

Tags

  • announcement (2)
  • async (1)
  • c (2)
  • clang (1)
  • cloud (1)
  • cplusplus (2)
  • crosspost (1)
  • cryptography (1)
  • current (2)
  • encryption (1)
  • gcc (1)
  • high side switch (1)
  • interview (1)
  • led (2)
  • led cube (3)
  • msvc (1)
  • network (1)
  • open source (1)
  • podcast (1)
  • pragma (1)
  • preprocessor (1)
  • programming (2)
  • resistor (2)
  • rust (1)
  • security (1)
  • stream (1)
  • tokio (1)
  • tresorit (2)
  • udp (1)
  • windows (2)

Find me on

  • GitHub
  • Medium
  • X
  • Stack Overflow
  • LinkedIn
  • YouTube

© Peter Budai 2012-2026. Built with Pelican.

RSSAtomSitemap