The fruit flies you've seen eating fresh fruit are probably Drosophila suzukii (spotted wing fruit fly). Most (all?) other Drosophila species (including the model organism Drosophila melanogaster) only feed on rotting fruit. Though they'll consume the sugars too, not just the microorganisms. So standard lab diets include sugar along with yeast and often cornmeal.
There are also some more distantly related flies that feed on fresh fruit and are commonly called fruit flies, eg Ceratitis capitata (Mediterranean fruit fly)
What? The closest thing to an abolition of slavery by British authorities was Dunmore's Proclamation which was proclaimed well after the Revolution had turned into open war. The American Revolution wasn't motivated by any real or perceived threat to the institution of slavery.
Earthworms aren't that smooth though. They've got cilia all over the body to help them grip to the soil as they move
How things work in BC:
When a practitioner changes for a service, they can't bill any more than what the Payment Schedule says that procedure costs. So if the Medical Services Plan isn't being billed (eg the doctor or patient opted out of MSP, the patient is a non-resident, the service is in the Payment Schedule but the Payment Schedule requirements consider it unnecessary) or MSP isn't covering the full cost (some stuff like a second or third biopsy will only be covered 50 %), then the doctor can't bill the patient any more than they would've billed MSP. This means practitioners have no incentive to not bill MSP.
The Payment Schedule (and thus allocation of the MSP budget) is set out by the Medical Services Commission which is composed of three representatives from the government, three from the Doctors of BC (the professional association which promotes the interests of member doctors) and three members of the public. So even if the government pushes for more stringent coverage requirements and budget surplus, the doctors are there to push for higher fees and less billing paperwork (besides exceptional circumstances like out-of-country care, patients can't submit claims directly; everything is on the practitioner's end), and the public is there to push for more coverage.
In practice this means that for the vast vast majority of services, the only justification that the practitioner needs to give MSP for coverage is the International Classification of Diseases diagnostic code for the condition being treated.
Allowed people to buy drugs online
yum yum PFAS residues and melted spatula plastic
Honestly as long as literals are properly converted, I don't see any other way to do this in an entirely encoding agnostic way
Depends how hard it is to work within its limits. This bug/hardware limitation creates a point of failure (someone not resetting the computer when they're supposed to)
I'm not sure if there's anything enable_if
can do that concepts can't do somewhat better but yeah there's definitely a lot of subtleties that reflection is going to make nicer or possible in the first place
You already can do that with C++20 concepts and the requires expression
template <typename T>
concept has_member_foo = requires(T t) {
t.foo();
};
// Will fail to instantiate (with nice error
// message) if t.foo() is ill-formed
template <has_member_foo T>
void bar(T t) {
// ...
}
// abbreviated form of above
void baz(has_member_foo auto t) {
// ...
}
// verbose form of above
template <typename T> requires
has_member_foo<T>
void biz(T t) {
// ...
}
// same as above but with anonymous concept
template <typename T> requires
requires(T t) { t.foo(); }
void bom(T t) {
// ...
}
// If already inside a function
if constexpr (has_member_foo<T>) {
// ...
}
// Same but with anonymous concept
if constexpr (requires(T t) { t.foo(); }) {
// ...
}
C++26 reflection is compiletime
There's a bunch of species of cactus (family Cactaceae) but only Rhipsalis baccifera is found in the old world. Even weirder is that it's not just found in the Americas and sub-Saharan Africa but also Sri Lanka for some reason.
Honestly I feel like Shadow is an IEM guy so he can feel superior to others