C++ Concepts - not totally lost

This is a discussion on C++ Concepts - not totally lost within the C++ Programming forums, part of the General Programming Boards category; As we all know, concepts were cut from the C++0x standard. However, it seems that all is not lost. While ...

  1. #1
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,635

    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...!

    http://www.drdobbs.com/visualstudio/227500449

    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
    Posts
    4,262
    And out of curiosity, how many knew of this already?
    You did. I know because I explained part of it to you.

    Soma

  3. #3
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,305
    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
    Location
    Australia
    Posts
    55
    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, 12:20 PM
  3. I lost my laptop, DVD and money
    By Sang-drax in forum A Brief History of Cprogramming.com
    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, 07:00 PM
  5. i'm totally lost
    By jlmac2001 in forum C++ Programming
    Replies: 5
    Last Post: 02-01-2003, 10:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21