Project

General

Profile

Actions

Emulator Issues #10002

closed

IsTriviallyCopyable is stubbed out when using Visual Studio

Added by JosJuice over 7 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
Yes
Regression start:
Fixed in:
5.0-6068

Description

The details are described here: https://github.com/dolphin-emu/dolphin/pull/2218

We have already hacked IsTriviallyCopyable to always return 1 on Visual Studio because it otherwise would fail for volatile types (starting with Visual Studio 2015). IsTriviallyCopyable might start failing for volatile types on other compilers too in the future, so we need some sort of fix, ideally removing usages of volatile.

Actions

Also available in: Atom PDF