Boost logo

Boost :

From: Rainer Deyke (root_at_[hidden])
Date: 2002-02-18 09:23:36


----- Original Message -----
From: "Herb Sutter" <hsutter_at_[hidden]>
To: "Boost" <boost_at_[hidden]>
Sent: Monday, February 18, 2002 1:11 AM
Subject: [boost] Most needed/desired features in C++

> Pardon if this has already been discussed on the list, but I'd like
your
> feedback on this question: "What are the most needed or desired
features in
> C++ for modern library writing in general and Boost in particular?"

One thing that bothers me about C++ is that there are effectively two
very different languages, a runtime language and a compile time
language. A full resolution of this issue probably requires a total
redesign of the language, but it might be mitigated by allowing
elements of the runtime language into the compile time language:

template <class A, class B> class is_same {
  if (A == B) {
    enum { result = true; }
  } else {
    enum { result = false; }
  }
};

This is not technically necessary, but it would the compile time
language much easier to learn for those who are already familiar with
the runtime language.

--
Rainer Deyke | root_at_[hidden] | http://rainerdeyke.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk