The tag has no wiki summary.

learn more… | top users | synonyms

11
votes
4answers
2k views

Why do all <algorithm> functions take only ranges, not containers?

There are many useful functions in <algorithm>, but all of them operate on "sequences" - pairs of iterators. E.g., if I have a container and like to run std::accumulate on it, I need to write: ...
-1
votes
2answers
111 views

How can I refer to the standard language documentation less? [closed]

When I code in a language (ex. Ruby) I find myself looking up things in the standard ruby docs quite a bit. Array#include? for example (I had tried Array#contains?), method names I feel I shouldn't ...
1
vote
2answers
82 views

Is there a stricter strtoull() in any ubiquitous C library?

I want a function that will interpret a string as a strictly unsigned integer, failing when the string overflows, represents a negative number, or does not represent a number. strtoull() does set ...
10
votes
1answer
488 views

Why isn't there a typeclass for functions?

In a learning problem I've been messing around with, I realised I needed a typeclass for functions with operations for applying, composing etc. Reasons... It can be convenient to treat a ...
1
vote
1answer
339 views

Languages with graph data structures and algorithms in standard library

I am trying to improve my knowledge and ability with graphs and graph algorithms and have noticed something curious: as far as I can tell no "mainstream" language contains support for graphs in its ...
1
vote
1answer
811 views

Performance overhead of standard containers and boost [closed]

Adap.TV has chosen C++ to develop their software. However, they've decided not to use the standard containers1 and boost for performance reasons, as they've blogged about it in the following article: ...
9
votes
4answers
604 views

What language should I use for making a cross platform library?

I want to build a SyncML parsing library (no UI) which should be able to build up messages based on information provided by the host application, fed in by the library's methods. Also, the library ...
2
votes
3answers
199 views

Do you Know of Any Audio Podcasts Discussing PHP Standard PHP Library (SPL)

Do you Know of Any Audio Podcasts Discussing PHP Standard PHP Library (SPL). I'd like to listen to this in the bath.