Title
Variables of library tag types need to be inline variables
Status
resolved
Section
[utilities][thread]
Submitter
Finland

Created on 2017-02-03.00:00:00 last changed 86 months ago

Messages

Date: 2017-03-15.00:00:00

[ 2017-03-12, post-Kona ]

Resolved by p0607r0.

Date: 2017-02-15.00:00:00

[ 2017-02-25, Daniel comments ]

There will be the paper p0607r0 provided for the Kona meeting that solves this issue.

Date: 2017-02-15.00:00:00

[ 2017-02-03, Marshall notes ]

See also GB 28 (LWG 2889)

Date: 2017-02-03.00:00:00
Addresses FI 9

The variables of library tag types need to be inline variables. Otherwise, using them in inline functions in multiple translation units is an ODR violation.

Proposed change: Make piecewise_construct, allocator_arg, nullopt, (the in_place_tags after they are made regular tags), defer_lock, try_to_lock and adopt_lock inline.

History
Date User Action Args
2017-03-12 23:04:12adminsetmessages: + msg9083
2017-03-12 23:04:12adminsetstatus: new -> resolved
2017-02-26 15:11:54adminsetmessages: + msg9000
2017-02-04 01:16:32adminsetmessages: + msg8876
2017-02-03 00:00:00admincreate