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

Created on 2015-04-27.00:00:00 last changed 115 months ago

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