#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.
Blast Furnace Slag is formed when iron ore or iron pellets, coke and a flux (either limestone or dolomite) are melted together in a blast furnace.