Skip to content

Use goo[gle]d C++ #57

@uselessgoddess

Description

@uselessgoddess

Check this links and fixes translator
always use explicit constructor
always use explicit operator conversions

bonus:
use next structure to translate constructors

public: constructor(integral_type a, non_integral_type b) noexcept ( /* if body is empty */ )
    : a(a), b(std::move(b)) // or _a(a), _b(std::move(b))
{
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions