Thought Leadership

Video about a C++ “flaw”

My latest video blog is now available. This time I am looking at an interesting aspect of C++, where there seems to be a small design flaw. You can see the video here or here:

Future video blogs will continue to look at topics of interest to embedded software developers. Suggestions for topics are always welcome via comment, email or social networking.

Colin Walls

I have over thirty years experience in the electronics industry, largely dedicated to embedded software. A frequent presenter at conferences and seminars and author of numerous technical articles and two books on embedded software, I am a member of the marketing team of the Mentor Graphics Embedded Systems Division, and am based in the UK. Away from work, I have a wide range of interests including photography and trying to point my two daughters in the right direction in life. Learn more about Colin, including his go-to karaoke song and the best parts of being British: http://go.mentor.com/3_acv

More from this author

Comments

2 thoughts about “Video about a C++ “flaw”
  • Interesting! I suppose I’d never really thought to wonder about that, so I’m glad you did and had the opportunity to ask about it.

    I also just now learned that it’s possible to explicitly call a constructor or destructor (and that this was intentional), which removes my previous assumption that the reason for the “flaw” you mention was that they couldn’t be explicitly called. So, I learned something new — thank you!

  • @Brooks – You may have put your finger on what was in BS’s mind when the requirement for no return type was introduced. Maybe he wanted to make it clear that constructors/destructors could not be called explicitly, but later changed his mind.

Leave a Reply

This article first appeared on the Siemens Digital Industries Software blog at https://blogs.sw.siemens.com/embedded-software/2017/12/11/video-about-a-c-flaw/