(c++)binary tree that has more than one template parameters, how come -


like binarysearchtree< classa , classb>, why need have 2 parameter classes? think binary tree can contain 1 class

it might (for 1 obvious example) take allocator type parameter (e.g., standard library containers this). decouples code deals objects in container code container proper.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -