#include <iostream> #include <vector> #include <numeric> #include <chrono> volatile int sink; int main() { for (auto size = 1ull; size < 1000000000ull; size *= 100) { // record start time auto start = std::chrono::high_resolution_clock::now(); // do some work std::vector<int> v(size, 42); sink = std::accumulate(v.begin(), v.end(), 0u); // make sure ...
Slag cement is most widely used in concrete, either as a separate cementitious component or as part of a blended cement. It works synergistically with portland cement to increase strength, reduce permeability, improve resistance to chemical attack and inhibit rebar corrosion.
Material is added during the melting process to bring the final chemistry within a specific range specified by industry and/or internal standards. Certain fluxes may be used to separate the metal from slag and/or dross and degassers are used to remove dissolved gas from metals that readily dissolve certain gasses.