Guest User

Untitled

a guest
Nov 25th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. template <typename R, size_t N> // №1
  2. explicit A(const R (&X)[N],typename enable_if<!is_same<R,const char[]>::value>::type* = nullptr):... {}
  3. explicit A(string const &str):... {} // №2
  4.  
  5. template <typename R, size_t N> // №1
  6. explicit A(const R (&X)[N],typename enable_if<is_same<R,const char[]>::value>::type* = nullptr):... {} // убрал !
  7.  
  8. template <typename R, size_t N> // №1
  9. explicit A(const R (&X)[N],typename enable_if<!is_same<R,char>::value>::type* = nullptr):... {}
Add Comment
Please, Sign In to add comment