From: stephan b. <st...@s1...> - 2004-12-27 16:47:15
|
On Monday 27 December 2004 17:00, Marc Duerner wrote: > Hi, > Some people split template classes into .h and .tcc files. The .tcc > is included at the end of a .h file and contains the definitions for > the functions declared in the header. Should we do the same? > If yes how do we call the files? .tpp? That's an interesting idea. The gnu STL is distributed this way, it think - or something similar. My initial reaction is "eeek!" but i can't really qualify that. i find it difficult enough that the the headers and source are in different dirs. There IS actually a problem with doing so: the modules start to depend on one-another without realizing it, because they can all read each others' headers. In the QUB project we found a technique which literally elminates that possibility, which i mimic under src/s11n/... Anyway - i would vote no, but i'm also a big fan of majority rule, so i won't whine if i'm out-voted. :) -- ----- st...@s1... http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts |