Boost logo

Ublas :

From: Thomas Lemaire (thomas.lemaire_at_[hidden])
Date: 2005-10-06 08:23:43


Dear list,

My problem is the following:

I have a method which needs to be virtual and takes a vector as parameter.
Some times it would be convenient to pass a vector_range instead... Since my
method is virtual, it cannot be template....

I have read information about polymorphism from the wiki:
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Extensions_And_New_Usage_Patterns_In_UBLAS

What is the recommended solution for this kind of problem with the current
ublas implementation ?

-- 
thomas