摘要:        
std::for_each(threads.begin(),threads.end(), std::mem_fn(&std::thread::join)); 1. 说明 2. 写用法 3.写样例 直接参考 cplusplus官网讲解:http://www.cplusplus.com/referenc    阅读全文
posted @ 2021-10-03 17:49
我是张洪铭我是熊博士
阅读(667)
评论(0)
推荐(0)
            
        
        
摘要:        
std::advance(block_end,block_size); 1. 写说明 2. 写用法 3.写样例 直接参考 cplusplus官网讲解:http://www.cplusplus.com/reference/iterator/advance/ 我的理解: std::advance 第一个    阅读全文
posted @ 2021-10-03 17:45
我是张洪铭我是熊博士
阅读(3091)
评论(0)
推荐(0)
            
        
        
摘要:        
1 unsigned long const num_threads= 2 std::min(hardware_threads != 0 ? hardware_threads : 2, max_threads); 1. 写说明 2. 写用法 3.写样例 未完,待续....    阅读全文
posted @ 2021-10-03 17:40
我是张洪铭我是熊博士
阅读(222)
评论(0)
推荐(0)
            
        
        
摘要:        
unsigned long const length=std::distance(first,last); 1. 写说明 2. 写用法 3.写样例 未完,待续....    阅读全文
posted @ 2021-10-03 17:36
我是张洪铭我是熊博士
阅读(447)
评论(0)
推荐(0)
            
        
        
摘要:        
1. 写说明 2. 写用法 3.写样例 未完,待续....    阅读全文
posted @ 2021-10-03 17:35
我是张洪铭我是熊博士
阅读(58)
评论(0)
推荐(0)
    
                    
                
浙公网安备 33010602011771号