Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

C++

Why does flowing off the end of a non-void function without returning a value not produce a compiler error?

by IT Nursery

Ever since I realized many years ago, that this doesn’t produce an error by default (in GCC at least), I’ve always wondered why? … Read more

Tags c, g++, gcc

How do you exit from a void function in C++?

by IT Nursery

How can you prematurely exit from a function without returning a value if it is a void function? I have a void method … Read more

Tags c

Is the PIMPL idiom really used in practice?

by IT Nursery

I am reading the book “Exceptional C++” by Herb Sutter, and in that book I have learned about the PIMPL idiom. Basically, the … Read more

Tags c, oop, pimpl-idiom

How to enable C++17 compiling in Visual Studio?

by IT Nursery

I want to use C++17 features. How can I switch compiling from C++14 to C++17 in Microsoft Visual Studio? Or it’s not avaiable … Read more

Tags c, c++17, compilation, visual-studio

Why is volatile not considered useful in multithreaded C or C++ programming?

by IT Nursery

As demonstrated in this answer I recently posted, I seem to be confused about the utility (or lack thereof) of volatile in multi-threaded … Read more

Tags c, c++-faq, multithreading, volatile

std::function vs template

by IT Nursery

Thanks to C++11 we received the std::function family of functor wrappers. Unfortunately, I keep hearing only bad things about these new additions. The … Read more

Tags c, c++11, std-function, templates

What’s this =! operator? [duplicate]

by IT Nursery

This question already has answers here: What does the “=!” operator do? [closed] (6 answers) Closed 8 years ago. I was surprised by … Read more

Tags c, operators

What is the worst real-world macros/pre-processor abuse you’ve ever come across?

by IT Nursery

Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new … Read more

Tags c, macros, preprocessor

What are the complexity guarantees of the standard containers?

by IT Nursery

Apparently 😉 the standard containers provide some form of guarantees. What type of guarantees and what exactly are the differences between the different … Read more

Tags big-o, c, containers, stl

In C++, what is a “namespace alias”?

by IT Nursery

What is a “namespace alias” in C++? How is it used? Best Answer 5

Tags c, namespaces
Older posts
Page1 Page2 … Page75 Next →

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery