[boost] How can I detect if a template static member function exists?