Skip links

  • Skip to primary navigation
  • Skip to content
  • Skip to footer
Nam Seob Seo
  • Search
  • About

    C++11 - one line interesting example of C++11 syntax

    less than 1 minute read

    1
    
    constexpr explicit optional<T>::operator bool() const noexcept;
    

    Categories: C++, Programming

    Updated: June 3, 2013

    Share on

    Twitter Facebook LinkedIn
    Previous Next

    You may also enjoy

    FrontEndMaster - OpenAI agent example

    less than 1 minute read

    FrontEndMaster course from Scott Moss for OpenAI agent

    ML - basic algorithms

    less than 1 minute read

    Basic ML algorithms

    C++ - decltype example

    less than 1 minute read

    The following code is trying to make a reference to avoid the copy 1 auto& element = *pos;

    C++ - static_pointer_cast

    less than 1 minute read

    C++11 introduce the static_pointer_cast which will allow to case the shared_ptr to another type without runtime checking.

    • Follow:
    • GitHub
    • Feed
    © 2025 Nam Seob Seo. Powered by Jekyll & Minimal Mistakes.