Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encapsulation of properties? #4

Open
tdd11235813 opened this issue Mar 7, 2017 · 0 comments
Open

Encapsulation of properties? #4

tdd11235813 opened this issue Mar 7, 2017 · 0 comments

Comments

@tdd11235813
Copy link

... coming from issue #3
Instead of:

auto node = compass::node();
auto devices = compass::devices();

auto value_node = compass::has(node, compass::feature::sse());
auto value_dev  = compass::has(devices[0], compass::feature::sse());
...

what about:

auto node = compass::node();
auto devices = compass::devices();

auto value_node = node.has(compass::feature::sse());
auto value_dev  = devices[0].has(compass::feature::sse());
...
@tdd11235813 tdd11235813 changed the title Class-type interface for properties of node and devices? Encapsulation of properties? Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant