Opened 10 years ago

Closed 10 years ago

#8318 closed Feature Requests (fixed)

BOOST_FORCEINLINE constructors of time_point and duration

Reported by: 1czajnik@… Owned by: viboes
Milestone: Boost 1.54.0 Component: chrono
Version: Boost 1.52.0 Severity: Optimization
Keywords: Cc:

Description

This is probably related only to the TI compiler I use: marking constructors inline or implementing them within the class definition doesn't work, they need to be marked BOOST_FORCEINLINE to be inlined (I've configured BOOST_FORCEINLINE), so could the constructors in Boost.Chrono be marked with BOOST_FORCEINLINE as well?

I am talking about 3 constructors of class duration, and 3 constructors of class time_point, patch attached.

Attachments (1)

8318.patch (1.3 KB ) - added by 1czajnik@… 10 years ago.

Download all attachments as: .zip

Change History (3)

by 1czajnik@…, 10 years ago

Attachment: 8318.patch added

comment:1 by viboes, 10 years ago

Milestone: To Be DeterminedBoost 1.54.0
Status: newassigned

Committed revision [83509].

comment:2 by viboes, 10 years ago

Resolution: fixed
Status: assignedclosed

Merged revision [83624].

Note: See TracTickets for help on using tickets.