C++ "typename" bug in acameracalibration_artificial.cpp, r2641 (Bug #105)


Added by Ryan Lei about 15 years ago. Updated about 15 years ago.


Status:Done Start date:
Priority:Blocker Due date:
Assignee:Anatoly Baksheev % Done:

0%

Category:trash
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Lines 56 ~61:

template<class T> ostream& operator<<(ostream& out, const Mat_<T>& mat) {
for(typename Mat_<T>::const_iterator pos = mat.begin(), end = mat.end(); pos != end; ++pos)
out << *pos << " ";
return out;
}

The "typename" is missing, and C++ compiler gave me errors.

OS: Mac OS X 10.6.2
Build architecture: i386
OpenCV version: r2641
Compiler: g++ 4.2


Associated revisions

Revision f8c6cef1
Added by Roman Donchenko about 11 years ago

Merge pull request #105 from ilya-lavrenov:tapi_perf

History

Updated by Anatoly Baksheev about 15 years ago

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF