Project

General

Profile

Feature #17037

Expose enable_if_type_exists

Added by Gianluca Petrillo over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
06/26/2017
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Scope:
Internal
Experiment:
LArSoft
SSI Package:
cetlib
Duration:

Description

I find myself using often the trait of types having defined a certain subtype. That is exactly what is implemented in cet::detail::enable_if_type_exists, and I am not aware of any equivalent in C++ standard library.
I would like that trait to be exposed in the stable interface.

In fact, all the content of metaprogramming.h might be useful (the names in the internal documentation should be updated though).

History

#1 Updated by Marc Paterno over 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Kyle Knoepfel
  • Estimated time set to 1.00 h
  • Experiment LArSoft added
  • Experiment deleted (-)

#2 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

The metaprogramming utilities have been moved to the top-level installed cetlib directory. The namespace in which the utilities lie has also changed from cet::detail to cet.

Implemented with commit cetlib:8426ac0 (as well as requisite commits in dependent packages).

#3 Updated by Kyle Knoepfel over 3 years ago

  • Target version set to 2.08.00

#4 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF