Thread: C++ Concepts - not totally lost

  1. #1
    Join Date
    Oct 2007
    Inside my computer

    C++ Concepts - not totally lost

    As we all know, concepts were cut from the C++0x standard. However, it seems that all is not lost.
    While browsing yesterday, I found this, and was I interested...!

    Basically, we can emulate concepts with C++98 functionality and even more powerful concept checking with C++0x.
    It would seem that concepts are basically just syntactic sugar since we can pretty much do all of it already. It isn't newbie friendly, but at least we, the experts, can still leverage concepts in our code.
    It even introduced me to a concept I never knew.
    I strongly urge those who haven't read this to do so.

    And out of curiosity, how many knew of this already?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  2. #2
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    And out of curiosity, how many knew of this already?
    You did. I know because I explained part of it to you.


  3. #3
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    New Zealand
    I actually learnt about some of that already, by reading GotW articles and reading the yasli_vector source code.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  4. #4
    Registered User
    Join Date
    Apr 2008
    I always find stuff like this article interesting to read, even if it is way over my head
    The concept sounds good though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++0x Concepts fall
    By Mario F. in forum General Discussions
    Replies: 32
    Last Post: 07-27-2009, 02:31 AM
  2. HELP!! NEw to Arrays/Functions.. LOST
    By felixgun in forum C++ Programming
    Replies: 4
    Last Post: 11-22-2006, 01:20 PM
  3. I lost my laptop, DVD and money
    By Sang-drax in forum A Brief History of
    Replies: 21
    Last Post: 10-01-2004, 07:13 PM
  4. Totally lost beginner
    By burrissa in forum C Programming
    Replies: 7
    Last Post: 03-29-2004, 08:00 PM
  5. i'm totally lost
    By jlmac2001 in forum C++ Programming
    Replies: 5
    Last Post: 02-01-2003, 11:06 PM