Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 05 Aug 2012
Offline Last Active Aug 23 2013 12:45 PM

Posts I've Made

In Topic: decltype template parameter

21 June 2013 - 05:44 PM

Thanks for the reply Rob, but that won't and doesn't work.

I've discovered after a little test that my problem lies elsewhere and will come back with a new problem.


I should probably mention that the member is actually a method, I'm trying to pass the operator( ) type as a template parameter and its a little closer to this:


<decltype(&T::operator( ))>


This actually worked in a test case but for some reason does not work with my actual traits class.. I'll figure it out..




EDIT: I ran this code through GCC and everything compiled and worked as expected, which only confirms my theory that this is a compiler bug. Really annoying..



EDIT2: Now I'm having some issues with GCC and const member functions.. *sigh*

In Topic: Java or C# career and future of programming

05 August 2012 - 03:42 PM

I program in C++, C# and Java for different reasons, pick one based on what your trying to achieve long term and the other languages should fall into place when you attempt to tackle them as they are pretty similar.

I am a big sideline supporter of the mono project, decent cross platform C# and .NET would be amazing, considering Java's biggest strength over C# is the ability to "Write once, run anywhere" if you could say the same thing about C# think about what this would mean.
A big blow to the gut for me was Xamarins choice to distribute the MonoDroid and MonoTouch projects as proprietary software for an outrageous price (if you ask me), but I guess you can't have your cake and eat it too.