Ask HN: How do you host your personal domain email accounts?
2 pointsby clappski6 comments
struct Op;
Op* init_op();
void free_op( Op* );
void do_something_with_op( Op* );
in the header provided by the library that you compile as part of your code, and the definition/implementation in some .a or .so/.dll that you'll link against.* f" something { my_dict['key'] } something else "
This works in Python already, allowing for nesting is a big QoL improvement struct MyType {
int x_;
MyType( int x ) : x_( x ) {}
};
void do_the_thing( const MyType& mt ); // mt.x_ = 1; doesn't compile, mt is const
over this struct MyType {
const int x_;
MyType( int x ) : x_( x ) {}
};
void do_the_thing( MyType mt ); // mt.x_ = 1; doesn't compile, x_ is const