Search:

Type: Posts; User: plutino

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    2,738

    wow, that's a clever implementation. Thank you. ...

    wow, that's a clever implementation. Thank you. But it's too complicated for a simple implementation that I'm looking for. I will just skip C arrays since I will probably never use them directly...
  2. Replies
    14
    Views
    2,738

    Thanks for the clarifications, especially on C++...

    Thanks for the clarifications, especially on C++ array definition. These functions are used by a Debug class to dump random user data into a file stream.
  3. Replies
    14
    Views
    2,738

    This sounds like a dead end. I'm trying to plug...

    This sounds like a dead end. I'm trying to plug this debug class in a old code set. Most part of the code has already used a stripped-down version of the vector class, but some older parts still...
  4. Replies
    14
    Views
    2,738

    By the way, is there a better way to handle the...

    By the way, is there a better way to handle the variable arguments function reloading than the pyramid I used? I don't want to go with the old C va_list method.
  5. Replies
    14
    Views
    2,738

    Well, these "arrays" are dynamically allocated...

    Well, these "arrays" are dynamically allocated with "new double[]". their sizes are not going to change once allocated. Maybe I should go with a non-uniform argument list, say, move the "int...
  6. Replies
    14
    Views
    2,738

    Sorry about the confusion. I don't process any...

    Sorry about the confusion. I don't process any single pointers, only need to overload it to work with arrays. I haven't thought about a class implementation, but these functions are already class...
  7. Replies
    14
    Views
    2,738

    Thanks. Multiple instantiation is not an issue,...

    Thanks. Multiple instantiation is not an issue, since these are all two-statement inline functions. However, the problem is that I don't know the array size ahead of time. If I change your...
  8. Replies
    14
    Views
    2,738

    template overloading question

    I need to overload a function template so that it can handle between 1 to 6 arbitrary arguments. So I have these declarations:

    template<typename T>
    void f(int verbose, const T&);
    ...
Results 1 to 8 of 8