onnxruntime/include/onnxruntime/core
Dmitri Smirnov 2de15c5d50
Re-work OrtApi struct to satisfy C++20 compilers (#15183)
### Description
<!-- Describe your changes. -->
Remove `deletion` of copy functions from `OrtApi` as its initialization
no longer compiles in C++20.
Introduce a non-copyable member to implicitly delete copy ctor.

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Inspired by https://github.com/microsoft/onnxruntime/pull/14901

Solution credits: @RyanUnderhill 

Cc: @georgthegreat
2023-03-24 13:52:17 -07:00
..
common Improve compatibility with certain STL's 2023-02-21 14:06:16 -08:00
eager support register external ep lib information (#8897) 2021-08-31 20:51:22 -07:00
framework FasterTransformer model wrapper using custom op (#15013) 2023-03-20 09:05:30 -07:00
graph Introduce RemovableAttributes (#14868) 2023-03-07 12:37:12 +01:00
optimizer Pass SessionOptions to XnnpackProviderFactoryCreator. (#13318) 2022-12-10 14:23:46 +08:00
platform Improve thread pool creation failure handling. (#13313) 2022-10-15 17:57:19 -07:00
providers remove disable_cpu_soft temporarily 2023-03-15 13:23:56 +08:00
session Re-work OrtApi struct to satisfy C++20 compilers (#15183) 2023-03-24 13:52:17 -07:00