Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <uv86l7$1j8l6$2@dont-email.me>
Deutsch   English   Français   Italiano  
<uv86l7$1j8l6$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.lang.c
Subject: Re: Recursion, Yo
Date: Thu, 11 Apr 2024 10:23:03 +0200
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <uv86l7$1j8l6$2@dont-email.me>
References: <uut24f$2icpb$1@dont-email.me> <uutqd2$bhl0$1@i2pn2.org>
 <uv2u2a$41j5$1@dont-email.me> <87edbestmg.fsf@bsb.me.uk>
 <uv4r9e$mdd3$1@dont-email.me> <uv5e3l$q885$1@dont-email.me>
 <uv5gfd$qum1$1@dont-email.me> <uv5lgl$s6uj$1@dont-email.me>
 <uv7ccu$19nsd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 11 Apr 2024 10:23:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="bfe965ad2c744120201e8335c561a037";
	logging-data="1680038"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/iDyJBMIvofqHw8WVCrtP1flYVKMRWtXc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.11.0
Cancel-Lock: sha1:dyVhB2squlzyS2c9MbS11Af/hq0=
In-Reply-To: <uv7ccu$19nsd$1@dont-email.me>
Content-Language: en-GB
Bytes: 1732

On 11/04/2024 02:54, Lawrence D'Oliveiro wrote:
> On Wed, 10 Apr 2024 11:18:12 +0200, David Brown wrote:
> 
>> Basically, anything you could do with a nested function in gcc C you can
>> do in C++:
> 
> Has anybody suggested adding coroutines to C++ yet?
> 

It's in C++20.

<https://en.cppreference.com/w/cpp/language/coroutines>

I have not looked at them myself, or checked the status of support in 
C++ compilers and standard libraries.