chromium/mojo/public/cpp/bindings/lib/sync_method_traits.h

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_SYNC_METHOD_TRAITS_H_
#define MOJO_PUBLIC_CPP_BINDINGS_LIB_SYNC_METHOD_TRAITS_H_

#include <stdint.h>

#include <type_traits>

#include "base/containers/span.h"

namespace mojo::internal {

template <typename Interface, typename SFINAE = void>
struct SyncMethodTraits {};

SyncMethodTraits<Interface, std::void_t<decltype(Interface::kSyncMethodOrdinals)>>;

}  // namespace mojo::internal

#endif  // MOJO_PUBLIC_CPP_BINDINGS_LIB_SYNC_METHOD_TRAITS_H_