Boost logo

Boost :

From: Dirk Gerrits (dirk_at_[hidden])
Date: 2003-03-02 14:47:47

Thorsten Ottosen wrote:
> I see your point. Does anyone have a nice idea of how to detect when the
> template argument is an iterator? It's easy with pairs and arrays and the
> default case is containers.

Perhaps you can use Boost's concept check to see if the template
argument models the Input Iterator concept? That's the first thing that
came to mind, I haven't tried it out or anything.


Dirk Gerrits

Boost list run by bdawes at, gregod at, cpdaniel at, john at