mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/26837 Test Plan: Imported from OSS Differential Revision: D17579438 Pulled By: yf225 fbshipit-source-id: 9ac59df28a317fdb3be2cc02c65962ad99117127
18 lines
344 B
C++
18 lines
344 B
C++
#pragma once
|
|
|
|
#include <cstddef>
|
|
|
|
namespace c10 {
|
|
|
|
struct in_place_t { explicit in_place_t() = default; };
|
|
|
|
template <std::size_t I>
|
|
struct in_place_index_t { explicit in_place_index_t() = default; };
|
|
|
|
template <typename T>
|
|
struct in_place_type_t { explicit in_place_type_t() = default; };
|
|
|
|
constexpr in_place_t in_place{};
|
|
|
|
} // namespace c10
|