@@ -4436,54 +4436,6 @@ Callback<R()> callback(R (*func)(const volatile T*), const volatile T *arg) {
4436
4436
return Callback<R ()>(func, arg);
4437
4437
}
4438
4438
4439
- /* * Create a callback class with type infered from the arguments
4440
- * @param func Function object to attach
4441
- * @note The function object is limited to a single word of storage
4442
- */
4443
- template <typename F, typename R>
4444
- Callback<R()> callback (F f, typename detail::enable_if<
4445
- detail::is_type<R (F::*)(), &F::operator()>::value &&
4446
- sizeof(F) <= sizeof(uintptr_t )
4447
- >::type = detail::nil()) {
4448
- return Callback<R ()>(f);
4449
- }
4450
-
4451
- /* * Create a callback class with type infered from the arguments
4452
- * @param func Function object to attach
4453
- * @note The function object is limited to a single word of storage
4454
- */
4455
- template <typename F, typename R>
4456
- Callback<R()> callback (const F f, typename detail::enable_if<
4457
- detail::is_type<R (F::*)() const , &F::operator()>::value &&
4458
- sizeof(F) <= sizeof(uintptr_t )
4459
- >::type = detail::nil()) {
4460
- return Callback<R ()>(f);
4461
- }
4462
-
4463
- /* * Create a callback class with type infered from the arguments
4464
- * @param func Function object to attach
4465
- * @note The function object is limited to a single word of storage
4466
- */
4467
- template <typename F, typename R>
4468
- Callback<R()> callback (volatile F f, typename detail::enable_if<
4469
- detail::is_type<R (F::*)() volatile, &F::operator()>::value &&
4470
- sizeof(F) <= sizeof(uintptr_t )
4471
- >::type = detail::nil()) {
4472
- return Callback<R ()>(f);
4473
- }
4474
-
4475
- /* * Create a callback class with type infered from the arguments
4476
- * @param func Function object to attach
4477
- * @note The function object is limited to a single word of storage
4478
- */
4479
- template <typename F, typename R>
4480
- Callback<R()> callback (const volatile F f, typename detail::enable_if<
4481
- detail::is_type<R (F::*)() const volatile, &F::operator()>::value &&
4482
- sizeof(F) <= sizeof(uintptr_t )
4483
- >::type = detail::nil()) {
4484
- return Callback<R ()>(f);
4485
- }
4486
-
4487
4439
/* * Create a callback class with type infered from the arguments
4488
4440
*
4489
4441
* @param obj Optional pointer to object to bind to function
@@ -4757,54 +4709,6 @@ Callback<R(A0)> callback(R (*func)(const volatile T*, A0), const volatile T *arg
4757
4709
return Callback<R (A0)>(func, arg);
4758
4710
}
4759
4711
4760
- /* * Create a callback class with type infered from the arguments
4761
- * @param func Function object to attach
4762
- * @note The function object is limited to a single word of storage
4763
- */
4764
- template <typename F, typename R, typename A0>
4765
- Callback<R(A0)> callback (F f, typename detail::enable_if<
4766
- detail::is_type<R (F::*)(A0), &F::operator()>::value &&
4767
- sizeof(F) <= sizeof(uintptr_t )
4768
- >::type = detail::nil()) {
4769
- return Callback<R (A0)>(f);
4770
- }
4771
-
4772
- /* * Create a callback class with type infered from the arguments
4773
- * @param func Function object to attach
4774
- * @note The function object is limited to a single word of storage
4775
- */
4776
- template <typename F, typename R, typename A0>
4777
- Callback<R(A0)> callback (const F f, typename detail::enable_if<
4778
- detail::is_type<R (F::*)(A0) const , &F::operator()>::value &&
4779
- sizeof(F) <= sizeof(uintptr_t )
4780
- >::type = detail::nil()) {
4781
- return Callback<R (A0)>(f);
4782
- }
4783
-
4784
- /* * Create a callback class with type infered from the arguments
4785
- * @param func Function object to attach
4786
- * @note The function object is limited to a single word of storage
4787
- */
4788
- template <typename F, typename R, typename A0>
4789
- Callback<R(A0)> callback (volatile F f, typename detail::enable_if<
4790
- detail::is_type<R (F::*)(A0) volatile, &F::operator()>::value &&
4791
- sizeof(F) <= sizeof(uintptr_t )
4792
- >::type = detail::nil()) {
4793
- return Callback<R (A0)>(f);
4794
- }
4795
-
4796
- /* * Create a callback class with type infered from the arguments
4797
- * @param func Function object to attach
4798
- * @note The function object is limited to a single word of storage
4799
- */
4800
- template <typename F, typename R, typename A0>
4801
- Callback<R(A0)> callback (const volatile F f, typename detail::enable_if<
4802
- detail::is_type<R (F::*)(A0) const volatile, &F::operator()>::value &&
4803
- sizeof(F) <= sizeof(uintptr_t )
4804
- >::type = detail::nil()) {
4805
- return Callback<R (A0)>(f);
4806
- }
4807
-
4808
4712
/* * Create a callback class with type infered from the arguments
4809
4713
*
4810
4714
* @param obj Optional pointer to object to bind to function
@@ -5078,54 +4982,6 @@ Callback<R(A0, A1)> callback(R (*func)(const volatile T*, A0, A1), const volatil
5078
4982
return Callback<R (A0, A1)>(func, arg);
5079
4983
}
5080
4984
5081
- /* * Create a callback class with type infered from the arguments
5082
- * @param func Function object to attach
5083
- * @note The function object is limited to a single word of storage
5084
- */
5085
- template <typename F, typename R, typename A0, typename A1>
5086
- Callback<R(A0, A1)> callback (F f, typename detail::enable_if<
5087
- detail::is_type<R (F::*)(A0, A1), &F::operator()>::value &&
5088
- sizeof(F) <= sizeof(uintptr_t )
5089
- >::type = detail::nil()) {
5090
- return Callback<R (A0, A1)>(f);
5091
- }
5092
-
5093
- /* * Create a callback class with type infered from the arguments
5094
- * @param func Function object to attach
5095
- * @note The function object is limited to a single word of storage
5096
- */
5097
- template <typename F, typename R, typename A0, typename A1>
5098
- Callback<R(A0, A1)> callback (const F f, typename detail::enable_if<
5099
- detail::is_type<R (F::*)(A0, A1) const , &F::operator()>::value &&
5100
- sizeof(F) <= sizeof(uintptr_t )
5101
- >::type = detail::nil()) {
5102
- return Callback<R (A0, A1)>(f);
5103
- }
5104
-
5105
- /* * Create a callback class with type infered from the arguments
5106
- * @param func Function object to attach
5107
- * @note The function object is limited to a single word of storage
5108
- */
5109
- template <typename F, typename R, typename A0, typename A1>
5110
- Callback<R(A0, A1)> callback (volatile F f, typename detail::enable_if<
5111
- detail::is_type<R (F::*)(A0, A1) volatile, &F::operator()>::value &&
5112
- sizeof(F) <= sizeof(uintptr_t )
5113
- >::type = detail::nil()) {
5114
- return Callback<R (A0, A1)>(f);
5115
- }
5116
-
5117
- /* * Create a callback class with type infered from the arguments
5118
- * @param func Function object to attach
5119
- * @note The function object is limited to a single word of storage
5120
- */
5121
- template <typename F, typename R, typename A0, typename A1>
5122
- Callback<R(A0, A1)> callback (const volatile F f, typename detail::enable_if<
5123
- detail::is_type<R (F::*)(A0, A1) const volatile, &F::operator()>::value &&
5124
- sizeof(F) <= sizeof(uintptr_t )
5125
- >::type = detail::nil()) {
5126
- return Callback<R (A0, A1)>(f);
5127
- }
5128
-
5129
4985
/* * Create a callback class with type infered from the arguments
5130
4986
*
5131
4987
* @param obj Optional pointer to object to bind to function
@@ -5399,54 +5255,6 @@ Callback<R(A0, A1, A2)> callback(R (*func)(const volatile T*, A0, A1, A2), const
5399
5255
return Callback<R (A0, A1, A2)>(func, arg);
5400
5256
}
5401
5257
5402
- /* * Create a callback class with type infered from the arguments
5403
- * @param func Function object to attach
5404
- * @note The function object is limited to a single word of storage
5405
- */
5406
- template <typename F, typename R, typename A0, typename A1, typename A2>
5407
- Callback<R(A0, A1, A2)> callback (F f, typename detail::enable_if<
5408
- detail::is_type<R (F::*)(A0, A1, A2), &F::operator()>::value &&
5409
- sizeof(F) <= sizeof(uintptr_t )
5410
- >::type = detail::nil()) {
5411
- return Callback<R (A0, A1, A2)>(f);
5412
- }
5413
-
5414
- /* * Create a callback class with type infered from the arguments
5415
- * @param func Function object to attach
5416
- * @note The function object is limited to a single word of storage
5417
- */
5418
- template <typename F, typename R, typename A0, typename A1, typename A2>
5419
- Callback<R(A0, A1, A2)> callback (const F f, typename detail::enable_if<
5420
- detail::is_type<R (F::*)(A0, A1, A2) const , &F::operator()>::value &&
5421
- sizeof(F) <= sizeof(uintptr_t )
5422
- >::type = detail::nil()) {
5423
- return Callback<R (A0, A1, A2)>(f);
5424
- }
5425
-
5426
- /* * Create a callback class with type infered from the arguments
5427
- * @param func Function object to attach
5428
- * @note The function object is limited to a single word of storage
5429
- */
5430
- template <typename F, typename R, typename A0, typename A1, typename A2>
5431
- Callback<R(A0, A1, A2)> callback (volatile F f, typename detail::enable_if<
5432
- detail::is_type<R (F::*)(A0, A1, A2) volatile, &F::operator()>::value &&
5433
- sizeof(F) <= sizeof(uintptr_t )
5434
- >::type = detail::nil()) {
5435
- return Callback<R (A0, A1, A2)>(f);
5436
- }
5437
-
5438
- /* * Create a callback class with type infered from the arguments
5439
- * @param func Function object to attach
5440
- * @note The function object is limited to a single word of storage
5441
- */
5442
- template <typename F, typename R, typename A0, typename A1, typename A2>
5443
- Callback<R(A0, A1, A2)> callback (const volatile F f, typename detail::enable_if<
5444
- detail::is_type<R (F::*)(A0, A1, A2) const volatile, &F::operator()>::value &&
5445
- sizeof(F) <= sizeof(uintptr_t )
5446
- >::type = detail::nil()) {
5447
- return Callback<R (A0, A1, A2)>(f);
5448
- }
5449
-
5450
5258
/* * Create a callback class with type infered from the arguments
5451
5259
*
5452
5260
* @param obj Optional pointer to object to bind to function
@@ -5720,54 +5528,6 @@ Callback<R(A0, A1, A2, A3)> callback(R (*func)(const volatile T*, A0, A1, A2, A3
5720
5528
return Callback<R (A0, A1, A2, A3)>(func, arg);
5721
5529
}
5722
5530
5723
- /* * Create a callback class with type infered from the arguments
5724
- * @param func Function object to attach
5725
- * @note The function object is limited to a single word of storage
5726
- */
5727
- template <typename F, typename R, typename A0, typename A1, typename A2, typename A3>
5728
- Callback<R(A0, A1, A2, A3)> callback (F f, typename detail::enable_if<
5729
- detail::is_type<R (F::*)(A0, A1, A2, A3), &F::operator()>::value &&
5730
- sizeof(F) <= sizeof(uintptr_t )
5731
- >::type = detail::nil()) {
5732
- return Callback<R (A0, A1, A2, A3)>(f);
5733
- }
5734
-
5735
- /* * Create a callback class with type infered from the arguments
5736
- * @param func Function object to attach
5737
- * @note The function object is limited to a single word of storage
5738
- */
5739
- template <typename F, typename R, typename A0, typename A1, typename A2, typename A3>
5740
- Callback<R(A0, A1, A2, A3)> callback (const F f, typename detail::enable_if<
5741
- detail::is_type<R (F::*)(A0, A1, A2, A3) const , &F::operator()>::value &&
5742
- sizeof(F) <= sizeof(uintptr_t )
5743
- >::type = detail::nil()) {
5744
- return Callback<R (A0, A1, A2, A3)>(f);
5745
- }
5746
-
5747
- /* * Create a callback class with type infered from the arguments
5748
- * @param func Function object to attach
5749
- * @note The function object is limited to a single word of storage
5750
- */
5751
- template <typename F, typename R, typename A0, typename A1, typename A2, typename A3>
5752
- Callback<R(A0, A1, A2, A3)> callback (volatile F f, typename detail::enable_if<
5753
- detail::is_type<R (F::*)(A0, A1, A2, A3) volatile, &F::operator()>::value &&
5754
- sizeof(F) <= sizeof(uintptr_t )
5755
- >::type = detail::nil()) {
5756
- return Callback<R (A0, A1, A2, A3)>(f);
5757
- }
5758
-
5759
- /* * Create a callback class with type infered from the arguments
5760
- * @param func Function object to attach
5761
- * @note The function object is limited to a single word of storage
5762
- */
5763
- template <typename F, typename R, typename A0, typename A1, typename A2, typename A3>
5764
- Callback<R(A0, A1, A2, A3)> callback (const volatile F f, typename detail::enable_if<
5765
- detail::is_type<R (F::*)(A0, A1, A2, A3) const volatile, &F::operator()>::value &&
5766
- sizeof(F) <= sizeof(uintptr_t )
5767
- >::type = detail::nil()) {
5768
- return Callback<R (A0, A1, A2, A3)>(f);
5769
- }
5770
-
5771
5531
/* * Create a callback class with type infered from the arguments
5772
5532
*
5773
5533
* @param obj Optional pointer to object to bind to function
@@ -6041,54 +5801,6 @@ Callback<R(A0, A1, A2, A3, A4)> callback(R (*func)(const volatile T*, A0, A1, A2
6041
5801
return Callback<R (A0, A1, A2, A3, A4)>(func, arg);
6042
5802
}
6043
5803
6044
- /* * Create a callback class with type infered from the arguments
6045
- * @param func Function object to attach
6046
- * @note The function object is limited to a single word of storage
6047
- */
6048
- template <typename F, typename R, typename A0, typename A1, typename A2, typename A3, typename A4>
6049
- Callback<R(A0, A1, A2, A3, A4)> callback (F f, typename detail::enable_if<
6050
- detail::is_type<R (F::*)(A0, A1, A2, A3, A4), &F::operator()>::value &&
6051
- sizeof(F) <= sizeof(uintptr_t )
6052
- >::type = detail::nil()) {
6053
- return Callback<R (A0, A1, A2, A3, A4)>(f);
6054
- }
6055
-
6056
- /* * Create a callback class with type infered from the arguments
6057
- * @param func Function object to attach
6058
- * @note The function object is limited to a single word of storage
6059
- */
6060
- template <typename F, typename R, typename A0, typename A1, typename A2, typename A3, typename A4>
6061
- Callback<R(A0, A1, A2, A3, A4)> callback (const F f, typename detail::enable_if<
6062
- detail::is_type<R (F::*)(A0, A1, A2, A3, A4) const , &F::operator()>::value &&
6063
- sizeof(F) <= sizeof(uintptr_t )
6064
- >::type = detail::nil()) {
6065
- return Callback<R (A0, A1, A2, A3, A4)>(f);
6066
- }
6067
-
6068
- /* * Create a callback class with type infered from the arguments
6069
- * @param func Function object to attach
6070
- * @note The function object is limited to a single word of storage
6071
- */
6072
- template <typename F, typename R, typename A0, typename A1, typename A2, typename A3, typename A4>
6073
- Callback<R(A0, A1, A2, A3, A4)> callback (volatile F f, typename detail::enable_if<
6074
- detail::is_type<R (F::*)(A0, A1, A2, A3, A4) volatile, &F::operator()>::value &&
6075
- sizeof(F) <= sizeof(uintptr_t )
6076
- >::type = detail::nil()) {
6077
- return Callback<R (A0, A1, A2, A3, A4)>(f);
6078
- }
6079
-
6080
- /* * Create a callback class with type infered from the arguments
6081
- * @param func Function object to attach
6082
- * @note The function object is limited to a single word of storage
6083
- */
6084
- template <typename F, typename R, typename A0, typename A1, typename A2, typename A3, typename A4>
6085
- Callback<R(A0, A1, A2, A3, A4)> callback (const volatile F f, typename detail::enable_if<
6086
- detail::is_type<R (F::*)(A0, A1, A2, A3, A4) const volatile, &F::operator()>::value &&
6087
- sizeof(F) <= sizeof(uintptr_t )
6088
- >::type = detail::nil()) {
6089
- return Callback<R (A0, A1, A2, A3, A4)>(f);
6090
- }
6091
-
6092
5804
/* * Create a callback class with type infered from the arguments
6093
5805
*
6094
5806
* @param obj Optional pointer to object to bind to function
0 commit comments