From d8fd2e3e69727d3a464ce3f64ae08e04b2cbf22d Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sun, 6 Dec 2020 00:16:53 +0100 Subject: [PATCH] Update doc as per latest changes --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c268c126..a9253849 100644 --- a/README.md +++ b/README.md @@ -2387,14 +2387,18 @@ This method is defined if all methods define an INIT method. Initialize the tuple 'tuple' (aka constructor) and set it to the value of 'ref'. -##### void name\_init\_set2(name\_t tuple, const type1 element1[, ...]) +##### void name\_init\_emplace(name\_t tuple, const type1 element1[, ...]) -Initialize the tuple 'tuple' (aka constructor) and set it to the value of the tuple ('element1'[, ...]). +Initialize the tuple 'tuple' (aka constructor) and set it to the value of the constructed tuple ('element1'[, ...]). ##### void name\_set(name\_t tuple, const name\_t ref) Set the tuple 'tuple' to the value of 'ref'. +##### void name\_emplace(name\_t tuple, const type1 element1[, ...]) + +Set the tuple 'tuple' to the value of the tuple construted with ('element1'[,...]). + ##### void name\_init\_move(name\_t tuple, name\_t ref) Initialize the tuple 'tuple' (aka constructor) by stealing as many resources from 'ref' as possible.