>
> How about just say:
>
> #if !defined(_LIBCPP_MSVC)
>      throw(std::bad_alloc)
>  #endif
>
> and for MSVC just not have a throw spec?
>  -- Marshall
>

I didn't do that because I wasn't sure if throw specs got encoded somehow
or there were other issues. But if not, why can't we just delete them
completely for all platforms now. Why/do Apple platforms still need it then
and if they do why doesn't that apply to msvc?

Otherwise it makes sense to me what you are saying. To my mind going
forward at least it shouldn't need any throw spec to say it throws as
that's the default to my understanding.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to