On Sat, Jun 04, 2016 at 08:13:40PM +0300, Антон Жилин wrote:
> The aim of these suggestions is not to change how memory management works
> in Qt, but to wrap it in a uniform syntax, and by the way, eliminate the
> need for explicit usage of `new`.
> We need to view each case of memory allocation t
As I understand there is no way to draw dashed line in Qt Quick Scene Graph
so I decided to create shader material to do this.
I'm trying to apply this approach http://korkd.com/2012/02/15/dashed-lines/
to this example
http://doc.qt.io/qt-5/qtquick-scenegraph-simplematerial-example.html.
1. How
The aim of these suggestions is not to change how memory management works
in Qt, but to wrap it in a uniform syntax, and by the way, eliminate the
need for explicit usage of `new`.
We need to view each case of memory allocation that is used somewhere in Qt
and think about how to express it in this
On Sat, Jun 4, 2016 at 6:48 PM, Konstantin Tokarev
wrote:
>
> 04.06.2016, 18:10, "charleyb123 ." :
> > This is to free the developer from considering implications of (2).
>
> I disagree, (2) is still present as the choice of make-function. It's up
> to you to decide if it will be Foo(...), std::ma
04.06.2016, 18:10, "charleyb123 ." :
> I won't be active in this thread, because IMHO this is the stuff of legends:
> We are about to usher in a new decade of flame wars for all of C++ with this
> topic (and these wars are underway in other C++ communities outside Qt).
>
> However, I want to c
I won't be active in this thread, because IMHO this is the stuff of
legends: We are about to usher in a new decade of flame wars for all of
C++ with this topic (and these wars are underway in other C++ communities
outside Qt).
However, I want to chime-in here for Qt, and then I'll not be active o
Hello,
Since this is opinion based I will give my opinion without explicitly
stating it's just a personal view on the subject on every line.
On Sat, Jun 4, 2016 at 3:55 PM, Антон Жилин wrote:
> A trend in modern C++ is AAA idiom.
>
The newest and hottest fad, which I consider to be a complete a
A trend in modern C++ is AAA idiom. It requires all constructions to be of
the following form:
auto x = initial_value;
A major component in this requirement is that most heap allocations should
have the following form:
auto x = make_function(constructorArguments);
See std::make_unique, std::mak