POV-Ray : Newsgroups : povray.pov4.discussion.general : Reviving some pov4 discussion : Re: Reviving some pov4 discussion Server Time
23 Feb 2024 18:42:49 EST (-0500)
  Re: Reviving some pov4 discussion  
From: scott
Date: 14 Dec 2015 03:41:07
Message: <566e80a3@news.povray.org>
> Please notice, I wrote "If I was crazy".
> of course C++11/14/17 could be abused with initialiser list in
> constructor for:
> scene += Cone( {0,0,0},{0,1,0}, 2);
> that is just a matter of supported syntax for any language, I took
> C++, but it would be the same with any other.

I've got a good scene:

scene += Cone( {0,0,0},{0,1,0}, 2);
std::remove("some important file");

Is there any way to limit what damage a compiled C++ program can do?

Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.