CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Talaxy

Search: Search took 0.02 seconds.

  1. Re: Variadic template function parameters and method pointers.

    Bingo! It worked a treat. An by giving the "WorkAround" struct a constructor that takes the function pointer, I was actually able to just call the function as before, by directly passing the function...
  2. Replies
    6
    Views
    2,296

    Re: template class and string default value

    Ah I see, I might be best sticking to the Visual C++ section then :)

    Thanks!
  3. Re: Variadic template function parameters and method pointers.

    That's correct, I am willing to specify the types per function function call. That work around is a nice idea, thanks for that :) I'll give it a try later!

    I eventually intend to wrap this whole...
  4. Replies
    6
    Views
    2,296

    Re: template class and string default value

    I may have misunderstood but are you looking for different default values per type? If so, this could be achieved by implementing the constructor for every type you intend to use with this class:

    ...
  5. Variadic template function parameters and method pointers.

    Hello there,

    I'm new here, hope I have posted to the appropriate place. I have been experimenting with variadic templates with the aim of caching a call to a class method by storing away the...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured