868 links
  • Links Lounge
  • Home
  • Login
  • RSS Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
  • c++ - Polymorphic QSharedPointer - Stack Overflow


    class Switch : public State
    {
    public:
    int a;
    };

    QSharedPointer myState= QSharedPointer(new Switch());
    QSharedPointer mySwitchTest = qSharedPointerCast(myState);

    C'est mieux que (Switch*)myState.data() non ?

    Thu 03 Jul 2014 10:23:04 AM CEST - permalink -
    - - - http://stackoverflow.com/questions/3500336/polymorphic-qsharedpointer
    Qt SmartPointer
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, no-database delicious clone by the Shaarli community - Help/documentation