templates et smart pointers

Version imprimable