Skip to content

Move semantics with std::initializer_list #225

@ahorn

Description

@ahorn

Line 1564 uses move semantics when working with std::initializer_list. But when I debug the type of, say, element[1], using clang++ 3.5 and compiling the unit tests, the compiler deduces a const reference type (see also std::initializer_list::begin). There are no meaningful semantics for moving const references so I wanted to double check with you guys.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions