Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CopyArray (0.08 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    inline void CopyArray(const T& from, U* to) { *to = from; }
    
    // This overload is used when k >= 1.
    template <typename T, typename U, size_t N>
    inline void CopyArray(const T(&from)[N], U(*to)[N]) {
      internal::CopyArray(from, N, *to);
    }
    
    // This helper reduces code bloat.  If we instead put its logic inside
    // the previous CopyArray() function, arrays with different sizes
    // would lead to different copies of the template code.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top