template<typename T>
tk::HasTypedefCode struct

Detect if T defines type "code".