Thread overview
[bug] Partial specialization & member function pointers
May 30, 2005
Daniel James
May 30, 2005
Walter
May 31, 2005
Walter
May 30, 2005
I'm getting 'Internal error: template 1869' when I try to compile this:

  template <typename T>
  struct is_mem_fun_pointer { };

  template <class R, class T >
  struct is_mem_fun_pointer<R (T::*)() > { };

  typedef is_mem_fun_pointer<int> test;

I think this might be a regression, as it's causing boost::is_pointer to fail, and IIRC it used to work.

Daniel
May 30, 2005
Thanks, Daniel, I'll check it out.


May 31, 2005
The new beta fixes this and some other type_traits issues.

http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip

http://www.digitalmars.com/download/freecompiler.html