Title
Stateful metaprogramming via friend injection
Status
open
Section
17.7.5 [temp.inject]
Submitter
Richard Smith

Created on 2015-04-27.00:00:00, last changed 2015-05-25.00:00:00.

Messages

Date: 2015-05-15.00:00:00

Notes from the May, 2015 meeting:

CWG agreed that such techniques should be ill-formed, although the mechanism for prohibiting them is as yet undetermined.

Date: 2015-04-27.00:00:00

Defining a friend function in a template, then referencing that function later provides a means of capturing and retrieving metaprogramming state. This technique is arcane and should be made ill-formed.

History
Date User Action Args
2015-05-25 00:00:00adminsetmessages: + msg5557
2015-04-27 00:00:00admincreate