Comment old compilers. need for ref. counting, threading (Score 2, Informative) 1046
Watch out for these:
1) old compilers. Sun CC 4.2 used to have a templates DB that didn't work well with incremental builds.
2) costly to copy objects that need to be stored in containers. you can store pointers instead and manage the object lifetimes yourself or a better thing to do is make those objects ref. counted with "copy on write" semantics
3) you will need your own thread synchronization if your containers/the objects in your containers are not read-only. see http://www.sgi.com/tech/stl/thread_safety.html
prasad
1) old compilers. Sun CC 4.2 used to have a templates DB that didn't work well with incremental builds.
2) costly to copy objects that need to be stored in containers. you can store pointers instead and manage the object lifetimes yourself or a better thing to do is make those objects ref. counted with "copy on write" semantics
3) you will need your own thread synchronization if your containers/the objects in your containers are not read-only. see http://www.sgi.com/tech/stl/thread_safety.html
prasad