Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for bool_constant (0.24 sec)

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

    # define GTEST_NEEDS_IS_POINTER_ 1
    #endif
    
    template <bool bool_value>
    struct bool_constant {
      typedef bool_constant<bool_value> type;
      static const bool value = bool_value;
    };
    template <bool bool_value> const bool bool_constant<bool_value>::value;
    
    typedef bool_constant<false> false_type;
    typedef bool_constant<true> true_type;
    
    template <typename T>
    struct is_pointer : public false_type {};
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    # define GTEST_NEEDS_IS_POINTER_ 1
    #endif
    
    template <bool bool_value>
    struct bool_constant {
      typedef bool_constant<bool_value> type;
      static const bool value = bool_value;
    };
    template <bool bool_value> const bool bool_constant<bool_value>::value;
    
    typedef bool_constant<false> false_type;
    typedef bool_constant<true> true_type;
    
    template <typename T>
    struct is_pointer : public false_type {};
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    // IsAProtocolMessage<T>::value is a compile-time bool constant that's
    // true iff T is type ProtocolMessage, proto2::Message, or a subclass
    // of those.
    template <typename T>
    struct IsAProtocolMessage
        : public bool_constant<
      ImplicitlyConvertible<const T*, const ::ProtocolMessage*>::value ||
      ImplicitlyConvertible<const T*, const ::proto2::Message*>::value> {
    };
    
    // When the compiler sees expression IsContainerTest<C>(0), if C is an
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43.1K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    // IsAProtocolMessage<T>::value is a compile-time bool constant that's
    // true iff T is type ProtocolMessage, proto2::Message, or a subclass
    // of those.
    template <typename T>
    struct IsAProtocolMessage
        : public bool_constant<
      ImplicitlyConvertible<const T*, const ::ProtocolMessage*>::value ||
      ImplicitlyConvertible<const T*, const ::proto2::Message*>::value> {
    };
    
    // When the compiler sees expression IsContainerTest<C>(0), if C is an
    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