cxxbridge-cmd 1.0.194

C++ code generator for integrating `cxx` crate into a non-Cargo build.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include "./maybe_uninit_detail.h"
#include <cstddef>

namespace rust {
inline namespace cxxbridge1 {
template <typename T>
union MaybeUninit {
  T value;
  void *operator new(::std::size_t sz) { return detail::operator_new<T>{}(sz); }
  MaybeUninit() {}
  ~MaybeUninit() {}
};
} // namespace cxxbridge1
} // namespace rust