Hi, Iam getting an error with gcc 3.4 as such warning: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available. Could anybody please let me know changes reqd in following code. I suppose, change in size() to BoundedArray::size(), would do the job. Is it so. template <class T> INLINE int BoundedArray<T>::upperBound() const { return l() + size() - 1; } If facts don't fit theory, change the facts -Albert Einstein Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html