Hello Frank, It works ! I realize now that i missed two points : First i used template Stack (T) instead of class Stack(T) Second i missed the auto keyword... Thanks.