Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

mloskot

mloskot mloskot Mateusz Łoskot

Niner since 2006

GIS Software Developer. My technical interests include: GIS, GPS, C++, Linux, Windows Mobile, Design Patterns and Open Source Software solutions. After hours: climbing and mountaineering.

  • Stephan T. Lavavej - Core C++, 8 of n

    Stephan,

    Perhaps you have touched that in your videos and I've missed it, regarding your std::max with long long and int example: why not explicit type conversion using functional notation instead of, longer, static_cast? I wonder, are there significant differences?

     

    Mat

  • Stephan T. Lavavej - Core C++, 6 of n

    Stephan,

    Thanks for the very interesting lecture, quality as always.

    Quick question to explicit conversion operators and the bool.

    Has this feature been actually released?

    I'm using Visual Studio 2012 (Build 11.0.51106.01) and compilation of this trivial code:

    struct T{  explicit operator bool() const { return true; }};
    int main() {}

     

    throws error

    error C2071: 'T::operator bool' : illegal storage class

     

    Regards,

    Mat