stonier / ecl_core

A set of tools and interfaces extending the capabilities of c++ to provide a lightweight, consistent interface with a focus for control programming.
Other
84 stars 69 forks source link

warning: typedef 'iterator' locally defined but not used #52

Open mikepurvis opened 8 years ago

mikepurvis commented 8 years ago

We get tons of these in our builds:

containers.hpp:256:45: warning: typedef 'iterator' locally defined but not used [-Wunused-local-typedefs]
   typedef typename Implementation::iterator iterator;
containers.hpp:292:45: warning: typedef 'iterator' locally defined but not used [-Wunused-local-typedefs]
   typedef typename Implementation::iterator iterator;
containers.hpp:329:45: warning: typedef 'iterator' locally defined but not used [-Wunused-local-typedefs]
   typedef typename Implementation::iterator iterator;
stonier commented 8 years ago

Handling the 'unused' compile time asserts for templates is a bit trickier...leaving this open for that.