Lars Gullik Bjønnes wrote:

> Objections?

Why not add a using std::vector here too?

Index: src/frontends/qt2/QPrefs.C
===================================================================
@@ -323,11 +324,12 @@ template<class A>
 typename std::vector<A>::size_type
 findPos(std::vector<A> const & vec, A const & val)
 {
-       typename std::vector<A>::const_iterator it =
-               std::find(vec.begin(), vec.end(), val);
+       typedef typename std::vector<A>::const_iterator Cit;

I thought that the concensus was functions/functors first, real 
classes second?

Index: src/insets/insettabular.C
+using std::auto_ptr;
 using std::endl;
 using std::max;
-using std::swap;
 using std::string;
-using std::auto_ptr;
 using std::istringstream;
 using std::ostream;
 using std::ostringstream;
+using std::swap;
+using std::vector;

It's not really taking us anywhere exciting though, is it?

-- 
Angus

Reply via email to