File: input.h

package info (click to toggle)
taskflow 3.9.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 45,948 kB
  • sloc: cpp: 39,058; xml: 35,572; python: 12,935; javascript: 1,732; makefile: 59; sh: 16
file content (21 lines) | stat: -rw-r--r-- 616 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/** @brief Base class */
class Base {
    virtual void doThing()noexcept;
    virtual void doAnotherThing();
    virtual void doYetAnotherThing();
};

/** @brief Keywords without spaces */
struct Foo: Base {
    /** @brief Final w/o override (will cause a compiler warning), w/o a space */
    void doThing() &&noexcept final;

    /** @brief Do more things, without a space */
    void doMoreStuff() &&noexcept(false);

    /** @brief Final override, without a space */
    void doAnotherThing() &&final override;

    /** @brief Override final, without a space */
    void doYetAnotherThing() &&override final;
};