• Re: typedef in old C

    From Kenny McCormack@21:1/5 to Bonita.Montero@gmail.com on Fri Jan 19 11:55:34 2024
    In article <tnjp2u$3juvv$1@dont-email.me>,
    Bonita Montero <Bonita.Montero@gmail.com> wrote:
    ...
    A stupid solution is:

    #include <type_traits>

    using X = unsigned;
    using Y = std::make_signed_t<X>;

    Maybe they didn't knew that in 1983. ;-)


    Could you also give us a solution in Basic+?

    How about Intercal?

    Thanks.

    --
    The randomly chosen signature file that would have appeared here is more than 4 lines long. As such, it violates one or more Usenet RFCs. In order to remain in compliance with said RFCs, the actual sig can be found at the following URL:
    http://user.xmission.com/~gazelle/Sigs/LadyChatterley

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)