Project

General

Profile

Feature #15829

Try to ensure that Fragments are always move-constructible

Added by Eric Flumerfelt over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Additional Functionality
Target version:
Start date:
03/10/2017
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

During testing of the e14 build, we were seeing some performance issues with the Transfer tests. One possibility that was eliminated was that we were now using copy constructors instead of move constructors. I have made sure that the appropriate methods in QuickVec are marked noexcept, and have added explicit construction of the move constructors to Fragment.hh. This should through a compile-time error if Fragment ever violates the move-constructible constraints.



Also available in: Atom PDF