[boost] Metaprogramming question

2003-08-14 Thread John Maddock
I'm trying to remember, did someone around here come up with some code that can tell at compiler time whether an object has a specific member or not, I can do it for operators, but not a member typedef (which is what I want)... Thanks, John. ___

[boost] metaprogramming question

2002-12-17 Thread Neal D. Becker
I hope it is permissible to ask a mp question. I'd like to have a template parameter is an int. If represents an arithmetic shift of an integral value. If the parameter is positive I'd like to shift left, and if negative shift right. Is it feasible to implement something like this? Any hints?

Re: [boost] metaprogramming question

2002-12-17 Thread Daniel Frey
Neal D. Becker wrote: I hope it is permissible to ask a mp question. I'd like to have a template parameter is an int. If represents an arithmetic shift of an integral value. If the parameter is positive I'd like to shift left, and if negative shift right. Is it feasible to implement

Re: [boost] metaprogramming question

2002-12-17 Thread Greg Colvin
At 09:47 AM 12/17/2002, you wrote: I hope it is permissible to ask a mp question. I'd like to have a template parameter is an int. If represents an arithmetic shift of an integral value. If the parameter is positive I'd like to shift left, and if negative shift right. Is it feasible to

Re: [boost] metaprogramming question

2002-12-17 Thread Greg Colvin
At 01:34 PM 12/17/2002, Greg Colvin wrote: At 09:47 AM 12/17/2002, you wrote: I hope it is permissible to ask a mp question. I'd like to have a template parameter is an int. If represents an arithmetic shift of an integral value. If the parameter is positive I'd like to shift left, and if

Re: [boost] metaprogramming question

2002-12-17 Thread Neal D. Becker
Thanks! ___ Unsubscribe other changes: http://lists.boost.org/mailman/listinfo.cgi/boost